From abe9c04459ff72243ab96664035c9b530fefc6d6 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Tue, 28 Jul 2020 14:53:17 +0200 Subject: [PATCH] Update README.md --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8931147..d097c54 100755 --- a/README.md +++ b/README.md @@ -26,13 +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. Navigate into the repository with `cd path/to/the/repository`. -2. Create a file called _secrets.json_ following the secrets_example.json structure. -5. 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. -6. Check if the app is running by visiting [127.0.0.1:8000](http://127.0.0.1:8000) -7. The website should be showing up. But it looks kind of broken. To fix this collect the needed static files (css, images, javascripts etc.). Open a second terminal in the same location as the running one and execute `docker-compose run web python manage.py collectstatic`. -8. Answere the question with `yes` if needed. -9. Reload [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/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. ## Import the data into the database