Plume/docs/UPDATE.md

20 lines
426 B
Markdown
Raw Normal View History

2018-09-01 17:34:49 +02:00
# Updating your instance
To update your instance, run these commands with `plume` user if you created it, or with your default user, in the Plume directory.
2018-10-06 17:06:50 +02:00
```bash
2018-09-01 17:34:49 +02:00
git pull origin master
cargo install --force && cargo install --path plume-cli --force
2018-09-01 17:34:49 +02:00
2018-10-06 17:06:50 +02:00
# Run the migrations
diesel migration run
2018-10-06 17:06:50 +02:00
2018-09-29 15:34:29 +02:00
# If you are using sysvinit
2018-09-29 15:02:17 +02:00
sudo service plume restart
2018-09-01 17:34:49 +02:00
# If you are using systemd
2018-09-29 15:02:17 +02:00
sudo systemctl restart plume
2018-09-01 17:34:49 +02:00
```
That's it!