Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
eoa2-xmldb/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
55 lines (31 sloc)
1.11 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# eoa2-xmldb | |
Experimental implementation. Aims to replace relational database/django by xml technologies | |
## Dependencies | |
- docker | |
- docker-compose | |
- python 3 | |
- [git_deps_py](https://github.molgen.mpg.de/EditionOpenAccess/git_deps_py) | |
## Scripts to Control the Webserver | |
- Initialize the repository | |
$ git_deps | |
$ ./scripts/install.py | |
- Start the Webserver | |
$ ./scripts/run.py | |
- Create superuser for django CMS: | |
$ ./scripts/exec_in_container.py 'python manage.py createsuperuser' | |
(enter username, etc) | |
- enter basic CMS pages | |
in your browser, go to 'http://localhost:8002/admin/cms/page/'. Add 3 pages: | |
- Introduction (Id: 'introduction') | |
- Contact (Id: 'contact') | |
- Imprint (Id: 'imprint') | |
These are required by the system! | |
- Import example publication (similar for other publications): | |
$ ./scripts/exec_in_container.py 'python manage.py publication_import $INPUT_DIR/example' | |
(you'll need to stop and start the webserver afterwards) | |
- Stop the Webserver | |
$ ./scripts/stop.py | |
- Clean up the repository | |
$ ./scripts/uninstall.py | |
## Other Scripts | |
- see './scripts/'. All scripts accept `--help`. |