From 705cd220276c3bf3d12ffbbc3635cd9ccf481b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9r=C3=A9nice=20Batut?= Date: Tue, 18 Oct 2022 14:47:21 +0200 Subject: [PATCH] Clarify few things in doc deployment --- docs/deployment.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 772f9296..c81f8609 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -62,7 +62,7 @@ Firstly make sure Git is installed, then: ### Setting up the database -1. Create database +1. Create database (only once) Within conda environment: @@ -107,9 +107,17 @@ Firstly make sure Git is installed, then: ### Launch the project -``` -$ python app.py -``` +1. Start the server modus/instance of postgres (if not already running) + + ``` + $ pg_ctl -D dnanalyzer -l logfile start + ``` + +2. Launch the project + + ``` + $ python app.py + ``` ## Part2: Instructions for deploying the project on a complete new Linux server