Update deployment instructions
@@ -126,7 +126,18 @@ waitress-serve --port=5000 --call 'myriad:create_app'
|
|||||||
If you need to re-init the database for an update
|
If you need to re-init the database for an update
|
||||||
|
|
||||||
```
|
```
|
||||||
|
git pull
|
||||||
flask --app myriad init-db
|
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'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user