-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,341 changed files
with
484,620 additions
and
483,644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# CPIMS OVC Upgrade | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.