Skip to content

Commit

Permalink
Fix README, update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed May 27, 2020
1 parent e69d88f commit 6fa1124
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Also a CMS superuser with username 'test' and password 'test' (don't use this in
$ ./scripts/run.py && ./scripts/exec_in_container.py
$ $ python manage.py loaddata $RES_DIR/fixtures/cms_dummy.json
$ $ exit
$ ./scripts/stop.py

### Import Publications

Expand All @@ -70,16 +71,17 @@ Compile the example file found in [eoa-publication-model](https://github.molgen.
$ git_deps_py --store-dir ../dependencies
$ cd dependencies/EOASkripts
$ ./scripts/run.py && ./scripts/exec_in_container.py
$ $ process_eoa_latex.py -f input/example/eoatex/EOASample.tex
$ $ process_eoa_latex.py input/example/124_eoatex
$ $ exit
$ ./scripts/stop.py
$ cd ..
$ cd ../../../

2. import example to the platform

After you have compiled the publication to "django", you might want to import it into the platform.

$ cp -r example_import/EOASkripts/runtime/output/django res/publications/example
$ mkdir res/publications
$ cp -r example_import/EOASkripts/runtime/output/124_eoatex/django res/publications/example
$ ./scripts/init.py --skip-db
$ ./scripts/run.py && ./scripts/exec_in_container.py
$ $ python manage.py publicationimport $RES_DIR/publications/example
Expand All @@ -91,7 +93,7 @@ That's all.
### Configure Project specific Information

- You might want to tweak the CMS pages: log in to the CMS and do it
- You might want to configer organisation information (org. name, logo, ...):
- You might want to configure organisation information (org. name, logo, ...):

1. edit `res/custom_config/*`
2. $ ./scripts/init.py --skip-db
Expand Down

0 comments on commit 6fa1124

Please sign in to comment.