Clone to your local directory to begin.
$ git clone https://github.com/amigocloud/modified-tripplanner.git
$ cd modeify
This copies the configuration files into a deployment
directory. On Macs this script also brew install
s NodeJS and MongoDB.
- Node.js — Version 0.10 and up
- MongoDB — Can set
MONGODB_URL
indeployment/env
- OpenTripPlanner — Set
otp
host
andport
indeployment/config.yaml
Run's the server in the background with automatic restarts using nodemon This watches the client
and lib
directories for changes and rebuilds and reloads the server accordingly. Logs are stored in server.log
.
NOTE: Changes to the configuration files requires a manual restart. Just run npm start
again.
Kills the server and cleans up the .pid
.
Manually rebuilds the client assets.
If you manage your configurations elsewhere, bin/set-deployment $DIRECTORY
allows you to switch between deployments.