Useful commands

Useful commands

Useful Aliases

To manage your Cavaliba deployment, you may issue commands from the command line.

These shell aliases are useful:

$ alias cavaliba="docker exec -it cavaliba_app python manage.py cavaliba "
$ alias cavmanage="docker exec -it cavaliba_app python manage.py "
$ alias cavdb="docker exec -it cavaliba_db "

Add them to your ~/.bashrc for persistence.

You can now type:

$ cavmanage --help
$ cavaliba --help
$ cavdb whoami             # shell access to the database container