This repository contains source code for the ITW-II Project at IIT (BHU) Varanasi - SwiftRail (Railway Management System).
Guided By: Dr. Amrita Chaturvedi, Assistant Professor, CSE, IIT (BHU) Varanasi.
- Make sure
python3.7andpipare installed. Installpipenvby runningpip install pipenv. - Install python dependencies using the command
pipenv install --ignore-pipfilePlease use only pipenv for managing dependencies (Follow this link if you are new to pipenv). - To activate this project's virtualenv, run
pipenv shell. - Alternatively, run a command inside the virtualenv with
pipenv run.
- Create database
swiftrailusing the commandCREATE DATABASE swiftrail;by logging in toMySQL. - Copy
my.cnf.exampleasmy.cnfand enter theusernameof the MySQL User in<username>andpasswordin<password>. - Run
python manage.py makemigrationsfor creating new migrations - Run
python manage.py migrateto apply migrations. - Run
python script.pyto update data in the database. - Start the development server using
python manage.py runserver.
- Django
- MySQL
- Django Social Auth
- Instamojo API
- Indian Rail API