Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 2.42 KB

README.md

File metadata and controls

53 lines (41 loc) · 2.42 KB

BTS2

This is the Open Source repository for the University of California Santa Cruz's new bus tracking system.

The website is built using the Single Page Application Javascript framework called AngularJS. Also Grunt and Bower are used as tools to better optimize dependency management and code optimization scripts. Tools like JShint are automatically run by Grunt.

##To Build: In the root directory of the repo run:
bower install

grunt build
This will create the deployable files in the /dist directory. If you generate any errors during the build, you might need to update your generators. Run yo and select upgrade generators.

##To Test: Change into the /app directory (or /dist directory after building) and run:
grunt serve
A local nodeJS server will be run and you can see the app at http://localhost:9000

##What Does What

  • AngularJS is acting as the front end UI layer
  • A Go app acts an API to pull live data from the campus shuttles with GPS devices.
  • A MySQL DB is used to store information about the shuttles, routes and hardware.
  • bts.ucsc.edu is a SmartOS VM running the API and web layers.
  • bts-dev.ucsc.edu is a dev VM.
  • bts-mysql.ucsc.edu is the DB server.
  • There is (was) an Android app available in the store.
  • An iOS app was never released but might make a good project.