mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-24 02:50:37 +00:00
missing start postgresql
This commit is contained in:
parent
3b9ccb0dda
commit
52c000ef4b
1 changed files with 2 additions and 0 deletions
|
@ -18,11 +18,13 @@ cargo run # this will configure and launch Plume on the server.
|
|||
|
||||
## If you want to run Plume with a remote DB this time ( Postgresql is not installed on the same server/container):
|
||||
* On the DB server:
|
||||
service postgresql start
|
||||
su - postgres
|
||||
createuser -d -P plume
|
||||
createdb -O plume plume
|
||||
|
||||
* On the Plume server:
|
||||
cd /home/plume/Plume
|
||||
diesel migration run --database-url postgres://plume:PASSWORD@DBSERVERIP:DBPORT/plume
|
||||
DB_URL=postgres://plume:PASSWORD@DBSERVERIP:DBPORT/plume cargo run # the first launch will ask questions to configure the instance. A second launch will not need the DB_URL.
|
||||
|
||||
|
|
Loading…
Reference in a new issue