An open API service indexing awesome lists of open source software.

https://github.com/krashish8/swiftrail

ITW-II Project (Information Technology Workshop-II - CSE-205N) (Railway Management System), Odd Semester 2019-20 (3rd Semester)
https://github.com/krashish8/swiftrail

database django django-social-auth itw-ii mysql pipenv python railway-management

Last synced: 7 months ago
JSON representation

ITW-II Project (Information Technology Workshop-II - CSE-205N) (Railway Management System), Odd Semester 2019-20 (3rd Semester)

Awesome Lists containing this project

README

          

# SwiftRail

This is the repository for the ITW-II Project at IIT (BHU) Varanasi - SwiftRail (Railway Management System).

## 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](https://realpython.com/pipenv-guide/) 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 `` and `password` in ``.
- 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