Replace plume by DATABASE_NAME in the docs

To make it clearer you can have multiple Plume instances/databases on the same server, and that this part of the URL may change too.
This commit is contained in:
Baptiste Gelez 2018-09-18 21:40:20 +01:00 committed by GitHub
parent d8bfd6d39f
commit 2bc6052a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ cargo install diesel_cli --no-default-features --features postgres --version '=1
Plume should normally run migrations on your behalf as needed, but if you want to run them manually, use the following command:
```bash
diesel migration run --database-url postgres://USER:PASSWORD@IP:PORT/plume
diesel migration run --database-url postgres://USER:PASSWORD@IP:PORT/DATABASE_NAME
```
This command may be useful if you decided to use a separate database server.
@ -138,7 +138,7 @@ When you launch Plume for the first time, it will ask you a few questions to set
```
# Optional, only do it if the database URL is not
# postgres://plume:plume@localhost/plume
export DB_URL=postgres://plume:PASSWORD@DBSERVERIP:DBPORT/plume
export DB_URL=postgres://plume:PASSWORD@DBSERVERIP:DBPORT/DATABASE_NAME
# Create the media directory, where uploads will be stored
mkdir media