Software Engineering Project
Recommendation and feedback system
Dependencies
Installation Instruction
- Install Python3 if not installed already
- Clone this repo to your working directory by
git clone https://github.com/amritghimire/se.git
- This will create a directory se. Go to this directory by
cd se
- Type
git update-index --assume-unchanged conf/database.json
to skip your further changes to database config. - Install VirtualEnv and (
sudo apt install virtualenv
) and pip3 if you don't have. - Install [PostgreSQL] by downloading it and setup a database
rafs
with you as owner - If you set your postgres user anything except postgres and password empty, change the value in conf/database.json with following content.
{ "user": "<user>", "secret": "<password>" }
- Make a VirtualEnv by
virtualenv --python=python3 venv
- Activate virtual environment by
source venv/bin/activate
orvenv\Scripts\activate
- Then, install all dependencies with
pip3 install -r requirements.txt
. - You are good to go now.
How to run
- Go to the project directory
- Activate virtual environment by
source venv/bin/activate
orvenv\Scripts\activate
- Run
python manage.py runserver