From d8c2fdc15f49ed5a2e75b49e984216251bb122ae Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Wed, 29 Jul 2020 08:47:36 +0200 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d097c54..da8036a 100755 --- a/README.md +++ b/README.md @@ -26,11 +26,11 @@ The actual data can be found here: https://gitlab.ub.uni-bielefeld.de/sporada/bu ## Build the app/start the app with docker -1. Move into the app folder with `cd path/to/bundesdata_web_app/app`. -2. Create a file called _secrets.json_ following the _secrets\_example.json_ structure. -3. Navigate into the repository root with `cd path/to/bundesdata_web_app`. -4. Start the web app with `docker-compose up`. Doing this the first time will take some time because all the needed images (postgres, python and nginx) will have to be downloaded. Also all the packages defined in the Pipfile will be installed in the according image. This terminal will stay open for now to show the log messages of the three running containers. -5. Visit [127.0.0.1:8000](http://127.0.0.1:8000) to verfiy that the files have been successfully imported. The website should look pretty nice now. +1. Move into the app folder with `cd path/to/bundesdata_web_app`. +2. Copy the _.env.tpl_ file and rename the copy to _.env_. +3. Set a secret key for django and set the database parameters like shown in the _.env.tpl_ file. +4. Start the web app with `docker-compose up`. Doing this the first time will take some time because all the needed images (postgres, python and nginx) will have to be downloaded. Also all the packages defined in the requirements.txt will be installed in the according image. This terminal will stay open for now to show the log messages of the three running containers. +5. Visit [127.0.0.1:8000](http://127.0.0.1:8000) to verfiy that the the web application is up and running.. ## Import the data into the database