Updated Updating (markdown)

Denis-Cosmin Nutiu 2017-05-24 14:56:21 +03:00
parent 2fe6098db7
commit bc5b6356f7

@ -1,17 +1 @@
## Easy Solution
`git pull`
## Complicated Solution
If you deployed the app and want to update to a newer version all you have to do is:
1. Stop the service.
```
sudo systemctl stop benchmark_scoreboard.service
```
2. Rename the current's app folder eg: `benchmark-scoreboard` to `benchmark-scoreboard-old`.
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)
`git pull`