Skip to content

ITW-II Project (Information Technology Workshop-II - CSE-205N) | Railway Management System | IIT (BHU) Varanasi | Odd Semester 2019-20

Notifications You must be signed in to change notification settings

mrsac7/swiftrail

Repository files navigation

SwiftRail

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.

Setting up Development Environment

  • Make sure python3.7 and pip are installed. Install pipenv by running pip install pipenv.
  • Install python dependencies using the command pipenv install --ignore-pipfile Please 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.

Running the project

  • Create database swiftrail using the command CREATE DATABASE swiftrail; by logging in to MySQL.
  • Copy my.cnf.example as my.cnf and enter the username of the MySQL User in <username> and password in <password>.
  • Run python manage.py makemigrations for creating new migrations
  • Run python manage.py migrate to apply migrations.
  • Run python script.py to update data in the database.
  • Start the development server using python manage.py runserver.

Tools and Technologies

  • Django
  • MySQL
  • Django Social Auth
  • Instamojo API
  • Indian Rail API

About

ITW-II Project (Information Technology Workshop-II - CSE-205N) | Railway Management System | IIT (BHU) Varanasi | Odd Semester 2019-20

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published