Maintenance - RopeWiki/app GitHub Wiki
This should be performed by a cron job, but in the event of needing to do it manually,
run python3 deploy_tool.py <SITE_NAME> renew_certs
The docker-compose.yaml configuration requires a number of environment variables to be set before it can be used. To
avoid the need to set these variables yourself (apart from WG_DB_PASSWORD and RW_ROOT_DB_PASSWORD), use
python3 deploy_tool.py <SITE_NAME> dc "<YOUR COMMAND>". For instance, python3 deploy_tool.py dev dc "up -d".
To deploy changes to the webserver Dockerfile: python3 deploy_tool.py redeploy webserver
OR, manually:
- Build the Dockerfile (
docker image build -t ropewiki/webserver .from the root of this repo) - Kill and remove the webserver (
python3 deploy_tool.py <SITE_NAME> dc "rm -f -s -v ropewiki_webserver") - Restore the full deployment (
python3 deploy_tool.py <SITE_NAME> start_site)