Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,4 @@

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/
## Installation
// clone the repository to your local machine
git clone https://github.com/uonafya/cpims-ovc-3.0

# install virtualenv windows
pip install virtualenv

# create virtualenv
virtualenv venv

# activate virtualenv
venv\Scripts\activate

# install requirements
pip install -r requirements.txt

# Install postgres https://www.postgresql.org/
# open psql(shell)
create database cpims;
create user username with password 'userpassword';
grant all privileges on database cpims to username;

# Edit cpims/settings.py with credentials created above

py manage.py makemigrations
py manage.pt migrate
py manage.py check

# runserver
py manage.py runserver
Merged code branch
Loading