...
Install Python 3 (recommended in a virtualenv)
Install pip
Within
openimis-be_py
directoryinstall openIMIS (external) dependencies:
Code Block language bash 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/openIMIS
: python manage.py runserver
Run the modular openIMIS backend as a service
Expand | ||
---|---|---|
| ||
Expand | ||
---|---|---|
| ||