- 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.jsonto 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
rafswith 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/activateorvenv\Scripts\activate - Then, install all dependencies with
pip3 install -r requirements.txt. - You are good to go now.
- Go to the project directory
- Activate virtual environment by
source venv/bin/activateorvenv\Scripts\activate - Run
python manage.py runserver