Skip to content

College Bus Tracker Web Application for SSN College of Engineering made with Flask

Notifications You must be signed in to change notification settings

thenithinbalaji/Bus-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Bus Tracker App

This project was created using Flask and


Running the Server

In the project directory, you can run:

python app.py

Runs the app in the development mode.
Open http://localhost:5000 to view it in your browser.
Read below if you face any issues while running the app.

Test Login Creds

These creds work only if mongoDB is installed in your PC.

Student User
---------------
Username: user@ssn
Password: user
Bus Tracker Admin
--------------
Username: admin@ssn
Password: admin

Missing Modules

Since the app uses a specific version of certain modules, it is highly recommended to create a virtual environment and then install the modules from requirements.txt

python -m virtualenv venv
venv/scripts/activate

Install modules from requirements.txt using:

pip install -r requirements.txt

MongoDB Errors

You need MongoDB installed in your PC to fix this error. The app takes care of initialising a database with dummy values, once mongodb is installed.

Map API

You might see "For developement purposes only" or "Map didn't load correctly" errors in homepage. You need to generate google maps API key and update it in homepage.html script tag to fix this error.
NOTE: The app will work perfectly even without the key. The key is to remove the map overlay text.
https://developers.google.com/maps/documentation/embed/get-api-key

About

College Bus Tracker Web Application for SSN College of Engineering made with Flask

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •