Skip to content

Code4Maine/modeify

 
 

Repository files navigation

Modeify

Build status Test coverage Code Climate Dependency Status

A web-based UI for delivering personalized commute information to travelers. Supported by the Mobility Lab Transit Tech Initiative.

Installation

Clone to your local directory to begin.

$ git clone [email protected]:conveyal/modeify.git
$ cd modeify

Environment Variables & Config

All environment variables needed can be found in config/env.tmp and environment specific URLS can be found in config/public.yaml. Copy the .tmp files to non-temp versions and configure accordingly. Environment variables can also be set machine wide for deployment.

MongoDB

Install locally or use a service like MongoLab. Set MONGODB_URL accordingly.

OpenTripPlanner

The planner requires an instance of OpenTripPlanner running with the GTFS feeds you would like to analyze. Manage your OTP endpoint in config/public.yaml.

Component

Modeify uses Component to manage client side dependencies and building. Running make installs the necesary node modules, downloads the components, and builds the client side JavaScript and CSS.

When NODE_ENV is set to development the server will rebuild the client side dependencies on each change.

Running

$ npm start

Runs the server as a daemon with automatic restarts by nodemon. Outputs logs to server.log. Stores the pid in server.pid

$ npm stop

Kills the server and cleans up the .pid.

Pushing to S3

Configure the aws CLI tool and run make release NODE_ENV={staging|production}, it will build using the environment specified and sync the assets directory with your S3 Bucket set in config/public.yaml.

About

Commuter management & planning tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published