Server management
There are some neat commands in the provided deployment/ansible/Makefile that you can run to help you manage your new server:
Warning
Make sure you configured everything first (see server provisioning).
make provision- Provisions a VPS from scratch (useAPP_VERSIONenv var for a specific version)make deploy- Deploys a new application version (useAPP_VERSIONenv var for a specific version)make login- Gives you a remote SSH shell to your servermake status- Gives you status of all important services running (application, database, Redis, queue, webserver)make dbshell- Gives you a remote database shell to your database servermake appservicelog- Prints the last application service logsmake queueservicelog- Prints the last queue service logsmake webserverservicelog- Prints the last web server service logsmake webserveraccesslog- Prints the last web server access logsmake monitor- Starts a system monitor on the server (to check on system usage like memory, disk, CPU, etc.)make createsuperuser- Creates a superuser on the servermake upgrade- Updates all operating system packages and restarts the servermake dbbackup- Creates a new db backupmake dbrestore- Restores the last db backupmake mediabackup- Creates a new media backupmake mediarestore- Restores the last media backupmake listbackups- Lists available backups