Plume/docs/UPDATE.md
Bat 9cc795d8be Replace DB_URL with DATABASE_URL
This way it is shared with diesel, which simplifies a lot the setup

Also fixes a few issues in the documentation, that are not directly related
2018-10-07 11:00:50 +01:00

20 lines
426 B
Markdown

# 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.
```bash
git pull origin master
cargo install --force && cargo install --path plume-cli --force
# Run the migrations
diesel migration run
# If you are using sysvinit
sudo service plume restart
# If you are using systemd
sudo systemctl restart plume
```
That's it!