Updated Updating (markdown)
parent
2fe6098db7
commit
bc5b6356f7
1 changed files with 1 additions and 17 deletions
18
Updating.md
18
Updating.md
|
@ -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`
|
Loading…
Reference in a new issue