From 52c000ef4b09b83f138c3bf37d893e4076577874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Mah=C3=A9?= Date: Thu, 28 Jun 2018 16:34:00 -0700 Subject: [PATCH] missing start postgresql --- INSTALL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index b7077e6d..84991eca 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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.