Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update installation instructions
  • Loading branch information
kthoden committed May 28, 2020
1 parent 6fa1124 commit aab5964
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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.

Expand All @@ -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
Expand Down

0 comments on commit aab5964

Please sign in to comment.