Remove diesel in some other places

stable
Baptiste Gelez 5 years ago
parent f99e082f42
commit 717d278db7

@ -70,7 +70,7 @@ times. Then create a copy of your `.env` file in another directory, and change t
and `ROCKET_PORT` variables. Then copy the migration files in this new directory and run them.
```
diesel migration run
plm migration run
```
Setup the new instance with `plm` [as explained here](/installation/config).

@ -51,8 +51,3 @@ PLUME_LOGO_192=icons/trwnh/paragraphs/plumeParagraphs192.png
PLUME_LOGO_256=icons/trwnh/paragraphs/plumeParagraphs256.png
PLUME_LOGO_512=icons/trwnh/paragraphs/plumeParagraphs512.png
```
## Diesel
Diesel, the tool we use to run migrations may be configured with the `DATABASE_URL` which should contain the URL of the
PostgreSQL database, or the path to the SQLite file. Otherwise, you can specify `--database-url YOUR-URL` everytime you run a `diesel` command.

@ -14,7 +14,7 @@ cargo web deploy -p plume-front
cargo install --force --no-default-features --features DATABASE && cargo install --path plume-cli --force --features DATABASE
# Run the migrations
diesel migration run
plm migration run
# If you are using sysvinit
sudo service plume restart

Loading…
Cancel
Save