Local Development
Install
Generate access token
1. pip install hydra-cli
python package (pypi)
* You must have Docker and Python3 installed.
Run hydra
for setup:
2. Access token
The hydra
command will ask for an access token and provides the URL (https://start.hydra.so/) to generate your token. Copy the token and paste it into the CLI to unlock 5 free hours of serverless analytics. To purchase additional serverless compute please contact support or deploy a hosted hydra database which has unlimited serverless processing.
Commands
You can run hydra help
for a list of commands, and hydra COMMAND --help
to get help about any command.
Configuration
Configuration is persistent. Once you specify your settings, it will remember what port you used. If would like to change the settings, you can run hydra setup
again. You can also change the port number at any time with hydra start
.
Configuration files
By default, configuration is saved to hydra-cli
in your platform’s user data directory:
-
Mac OS X:
~/Library/Application Support/hydra-cli
-
Linux:
~/.local/share/hydra-cli
You can specify a different configuration directory with -C
/--config-dir
, but you will need to pass this in with every execution.
Uninstalling
-
hydra stop
removes the running container, if one remains. -
hydra teardown
will confirm removal of the configuration files and the Docker volume, respectively. -
pip uninstall hydra-cli
will remove the CLI itself.