Experimental implementation. Aims to replace relational database/django by xml technologies
- docker
- docker-compose
- python 3
- git_deps_py
-
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
- see './scripts/'. All scripts accept
--help
.