A web-based UI for delivering personalized commute information to travelers. Supported by the Mobility Lab Transit Tech Initiative.
Clone to your local directory to begin.
$ git clone [email protected]:conveyal/modeify.git
$ cd modeify
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.
Install locally or use a service like MongoLab. Set MONGODB_URL
accordingly.
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
.
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.
$ 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
.
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
.