Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Install Python 3 (recommended in a virtualenv)

  • Install pip

  • Within openimis-be_py directory

    • install openIMIS (external) dependencies: 

      Code Block
      languagebash
      pip install -r requirements.txt
    • generate the openIMIS modules dependencies file (from openimis.json config; adapt the list of modules if necessary): 

      Code Block
      python script\modules-requirements.py openimis.json > modules-requirements.txt
    • install openIMIS current modules: 

      Code Block
      pip install -r modules-requirements.txt

...

  • At this stage, you may (depends on the database you connect to) need to:

    • apply Django migrations, from openimis-be_py/openIMIS

      Code Block
      python manage.py migrate
    • create a superuser for Django admin console, from openimis-be_py/openIMIS

      Code Block
      python manage.py createsuperuser

Run the modular openIMIS backend locally

Start openIMIS from within openimis-be_py/openIMISpython manage.py runserver

Run the modular openIMIS backend as a service

Expand
titleWindows setup
Expand
titleLinux setup