Plume/docs/UPDATE.md

20 lines
426 B
Markdown
Raw Normal View History

2018-09-01 15:34:49 +00: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 15:06:50 +00:00
```bash
2018-09-01 15:34:49 +00:00
git pull origin master
cargo install --force && cargo install --path plume-cli --force
2018-09-01 15:34:49 +00:00
2018-10-06 15:06:50 +00:00
# Run the migrations
diesel migration run
2018-10-06 15:06:50 +00:00
2018-09-29 13:34:29 +00:00
# If you are using sysvinit
2018-09-29 13:02:17 +00:00
sudo service plume restart
2018-09-01 15:34:49 +00:00
# If you are using systemd
2018-09-29 13:02:17 +00:00
sudo systemctl restart plume
2018-09-01 15:34:49 +00:00
```
That's it!