API for ECell NIT Raipur android application and website.
To Setup this Project and contribute follow below guidelines.
-
First fork the repo and clone it using
git clone https://github.com/<Your-Username>/EcellWeb2k19.git -
Change the CWD to the project folder
cd EcellWeb2k19 -
Make virtual Environment (Python version recommeded = v3.6)
virtualenv --python=/usr/bin/python<version> myenv -
Activate the Virtual Environment
source myenv/bin/activate -
Install requirements.txt
pip install -r requirements.txt -
Setup Postgres Database with given credentials
DATABASE NAME : ecellweb
USERNAME : ecellnitrr
PASSWORD : ECellWeb2k19
-
Make all the Migrations
python manage.py makemigrations -
Run Migration command
python manage.py migrate -
Make a superuser for admin panel
python manage.py createsuperuser -
Run the server
python manage.py runserver