When users would like to automate the process of installing and running HarperDB there is the capability to pass arguments to the command line; All Arguments Are Required
harperdb install --TC_AGREEMENT yes --HDB_ROOT /tmp/hdb --HTTP_PORT 9925 --HTTPS_PORT 31283 --HDB_ADMIN_USERNAME HDB_ADMIN --HDB_ADMIN_PASSWORD password
We use this process internally to automate build and test procedures in containers and VMs.
Below we describe the basic functionality.
harperdb [ install | run ] --TC_AGREEMENT [yes | no] --HDB_ROOT [PATH] --HTTP_PORT [HTTP_PORT] --HTTPS_PORT [HTTPS_PORT] --HDB_ADMIN_USERNAME [USERNAME] --HDB_ADMIN_PASSWORD [PASSWORD]
The variables definitions are:
[yes | no]: Agree yes, Do not Agree no.
[PATH]: full path to where you would like the HarperDB data to be installed. i.e. /tmp/hdb
[HTTP_PORT]: port you would like HTTP server to run on
[HTTPS_PORT]: port you would like HTTPS server to run on
[USERNAME]: username of your administrator
[PASSWORD]: password for your administrator user
[PORT NUMBER > 1024] Non Root users do not have authority to open ports below 1024