Official WebApp of Jagrati - An Initiative of IIITians
Python 3.7
Django 2.2.6
And additional requirements are in requirements.txt
- Download and install Python 3.7
- Download and install Git.
- Fork the Repository.
- Clone the repository to your local machine
$ git clone https://github.com/<your-github-username>/JagratiWebApp.git
- Change directory to JagratiWebApp
$ cd JagratiWebApp
- Install virtualenv
$ pip3 install virtualenv
- Create a virtual environment
$ virtualenv env -p python3.7
- Activate the env:
$ source env/bin/activate
(for linux)> ./env/Scripts/activate
(for Windows PowerShell) - Install the requirements:
$ pip install -r requirements.txt
- Make migrations
$ python manage.py makemigrations
- To Make migrations for a particular app
$ python manage.py makemigrations <App name>
- Migrate the changes to the database
$ python manage.py migrate
- Create admin
$ python manage.py createsuperuser
- Run the server
$ python manage.py runserver
- Create a new branch with a related name of the motive i.e. bug/refactor/feature
- Create an issue before actually starting to code
- Send a pull request anytime :)