chore: note in Readme on how to update
This commit is contained in:
parent
de946bf9c7
commit
72eb553ede
13
README.md
13
README.md
|
@ -37,6 +37,19 @@ To stop the database when you're done developing, run (potentially with sudo):
|
||||||
|
|
||||||
npm run mongo:stop
|
npm run mongo:stop
|
||||||
|
|
||||||
|
## Updating
|
||||||
|
|
||||||
|
If you run this through cloning the git and setting it up as a systemctl
|
||||||
|
service, you can follow this procedure to update the application:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo systemctl stop obsApp.service
|
||||||
|
git pull
|
||||||
|
npm install
|
||||||
|
npm run migrate:up
|
||||||
|
sudo systemctl start obsApp.service
|
||||||
|
```
|
||||||
|
|
||||||
## Docker setup
|
## Docker setup
|
||||||
|
|
||||||
If you have docker and don't want to bother installing Node.js on your machine,
|
If you have docker and don't want to bother installing Node.js on your machine,
|
||||||
|
|
Loading…
Reference in a new issue