diff --git a/Updating.md b/Updating.md index ff9f88b..2882ec8 100644 --- a/Updating.md +++ b/Updating.md @@ -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. \ No newline at end of file +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) \ No newline at end of file