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)
- Host: GitHub
- URL: https://github.com/krashish8/swiftrail
- Owner: krashish8
- Created: 2019-10-01T09:21:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-19T04:00:05.000Z (over 4 years ago)
- Last Synced: 2025-01-13T20:24:44.462Z (9 months ago)
- Topics: database, django, django-social-auth, itw-ii, mysql, pipenv, python, railway-management
- Language: HTML
- Homepage: https://swiftrail.herokuapp.com/
- Size: 43 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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