diff --git a/deployment-instructions.md b/deployment-instructions.md index 6567a02..16dae02 100644 --- a/deployment-instructions.md +++ b/deployment-instructions.md @@ -126,7 +126,18 @@ waitress-serve --port=5000 --call 'myriad:create_app' If you need to re-init the database for an update ``` +git pull flask --app myriad init-db +sudo nano instance/config.py +REGISTRATION = True +``` + +Then go to the site and re-make admin account + +``` +sudo nano instance/config.py +REGISTRATION = False +waitress-serve --port=5000 --call 'myriad:create_app' ```