Skip to content

Latest commit

 

History

History
42 lines (20 loc) · 1015 Bytes

README.md

File metadata and controls

42 lines (20 loc) · 1015 Bytes

commute-importer

This project aims to be an playground to explore General Transit Feed Specification Reference by enabling import GTFS data sets into a SQL database and exposing an API to query data.

Build Status Coverage Status

Dump Database

mysqldump --no-data -hlocalhost -ucommute -pcommute commute > ddl/commute-ddl.sql  

Import Database

mysql -ucommute -pcommute commute < commute-ddl.sql

REST Resources

Generate static resources:

Install go-bindata:

go get -u github.com/jteeuwen/go-bindata/...

Run go-bindata:

go-bindata -o data/data.go -pkg data resources/...