From aab59648d3bfa62096858ef1fed4428afb501d47 Mon Sep 17 00:00:00 2001 From: kthoden Date: Thu, 28 May 2020 09:18:12 +0200 Subject: [PATCH] Update installation instructions --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bc039f0..c17ef80 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Dependencies to other git repositories are handled using [git_deps_py](https://g ## Initialise the Repository $ git_deps_py - $ ./scripts/init.py [--build] + $ ./scripts/init.py --build This will pull remote repositories and resources, initialize the database, etc. Force recreating the docker image by adding `--build` e.g. if `Dockerfile` or `requirements.txt` has changed. @@ -63,9 +63,9 @@ In order to publish a publication on the platform, the following 2 steps are nec For the example publication, this process goes as follows: -1. compiling the example +1. Compile the example -Compile the example file found in [eoa-publication-model](https://github.molgen.mpg.de/EditionOpenAccess/eoa-publication-model) +Compile the example file found in [eoa-publication-model](https://github.molgen.mpg.de/EditionOpenAccess/eoa-publication-model). For other examples containing TEI-XML consult https://github.molgen.mpg.de/EditionOpenAccess/EOASkripts#the-tei-workflow-tei---pdf-django-epub. $ cd example_import $ git_deps_py --store-dir ../dependencies @@ -76,7 +76,7 @@ Compile the example file found in [eoa-publication-model](https://github.molgen. $ ./scripts/stop.py $ cd ../../../ -2. import example to the platform +2. Import example into the platform After you have compiled the publication to "django", you might want to import it into the platform. @@ -86,10 +86,15 @@ After you have compiled the publication to "django", you might want to import it $ ./scripts/run.py && ./scripts/exec_in_container.py $ $ python manage.py publicationimport $RES_DIR/publications/example $ $ exit - $ ./scripts/stop.py + +Visit http://localhost:8001/ for the main site and http://localhost:8001/studies/124/index.html for the publication. Go to http://localhost:8001/admin/login/ to access the Django administration pages. That's all. +Stop the container with + + $ ./scripts/stop.py + ### Configure Project specific Information - You might want to tweak the CMS pages: log in to the CMS and do it