Code base for CPIMS OVC business process upgrade from python 2.7 / Django 1.8 to Python 3.10 / Django 4.0.2
install python 3.10 https://www.python.org/getit/
// clone the repository to your local machine git clone https://github.com/uonafya/cpims-ovc-3.0
pip install virtualenv
virtualenv venv
venv\Scripts\activate
pip install -r requirements.txt
Install postgres https://www.postgresql.org/
create database cpims; create user username with password 'userpassword'; grant all privileges on database cpims to username;
py manage.py makemigrations py manage.pt migrate py manage.py check
py manage.py runserver