Updated Updating (markdown)

Denis-Cosmin Nutiu 2017-04-22 00:33:45 +03:00
parent 3e5a560383
commit 7fe1eeda67

@ -1,5 +1,11 @@
If you deployed the app and want to update to a newer version all you have to do is to rename the current's app folder eg: `benchmark-scoreboard` to `benchmark-scoreboard-old`.
If you deployed the app and want to update to a newer version all you have to do is:
Copy from the virtualenv folder from `benchmark-scoreboard-old` to `benchmark-scoreboard`.
1. Stop the service.
```
sudo systemctl stop benchmark_scoreboard.service
```
2. Rename the current's app folder eg: `benchmark-scoreboard` to `benchmark-scoreboard-old`.
Hope everything works.
3. Copy from the virtualenv folder from `benchmark-scoreboard-old` to `benchmark-scoreboard`.
4. Restart the service and hope that everything works and nothing is broken. (You may also clean the database)