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
|
2018-10-06 10:59:39 +00:00
|
|
|
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 --database-url 'YOUR_DB_URL'
|
|
|
|
|
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
|
|
|
|
2018-10-06 10:59:39 +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!
|