Follow this guide to successfully setup this project on your local machine.
-
Install python 3.x
https://www.python.org/downloads/
, githttps://git-scm.com/downloads
and virtualenv in your computer. -
Get the source code on your machine by-
git clone https://github.com/GDG-JSS-NOIDA/website.git
-
Create a python virtual environment and install python and django related dependencies.
cd website virtualenv -p python3 venv # create virtual env source venv/bin/activate # run this command everytime before starting on the project pip install -r requirements/dev.txt
-
For creating database migrations run
python manage.py makemigrations python manage.py migrate
-
For running the server
python manage.py runserver
-
Open the browser and got to the following link.
127.0.0.1:8000