Skip to content
Permalink
d9f840130b
Switch branches/tags

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?
Go to file
Latest commit d9f8401 Jan 26, 2020 History
1 contributor

Users who have contributed to this file

eoa2-xmldb

Experimental implementation. Aims to replace relational database/django by xml technologies

Dependencies

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.