|
|
|
@ -6,11 +6,12 @@ instance up-to-date is important.'
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
To update your instance, run these commands with `plume` user if you created it, or with your default user, in the Plume directory.
|
|
|
|
|
Replace DATABASE with either postgres or sqlite depending on what you want to use.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
git pull origin master
|
|
|
|
|
cargo web deploy -p plume-front
|
|
|
|
|
cargo install --force && cargo install --path plume-cli --force
|
|
|
|
|
cargo install --force --no-default-features --features DATABASE && cargo install --path plume-cli --force --features DATABASE
|
|
|
|
|
|
|
|
|
|
# Run the migrations
|
|
|
|
|
diesel migration run
|
|
|
|
|