/gtfs-manager

An all-in-one GTFS manager & editor created in node.js

Primary LanguageHTMLMIT LicenseMIT

GTFS Editor

Video demo

Requirements

How to install & run

1. Install Homebrew

Go to Homebrew website

2. Install MongoDB

Run in a Terminal/Console:

  • brew update
  • brew install mongodb
  • mkdir -p /data/db
  • Set permissions for the data directory (ensure that the user account running mongod has read and write permissions for the directory)

Or follow the steps here

3. Install Node.js

Go to NodeJs website for instructions

How to Run

1. Create database

Run in a terminal:

  • mongo (to start the database)
  • use gtfsdb (to create/switch to database)
  • (optional) use the mongod command to watch the mongo activity

2. Prepare application - Update dependencies

  • npm install
  • npm install -g bower (if you don't have bower installed)
  • bower install or bower update (if you already have bower installed)

3. Run application

(Optional) Automatic reload and restart server

  • Install nodemon: npm install -g nodemon
  • Run nodemon: nodemon bin/www