In order to run you will need to get an app id and key by registering here.
You will also need mongodb
(available on brew) and gulp
globally installed.
Start your mongodb
daemon
$ mongod
or if you installed with brew
:
$ brew services start mongodb
You will need to have node 6+ installed
$ nvm use 6
Install dependencies
$ npm i
Then start the app
$ cd src
$ APP_ID=XXX APP_KEY=XXX gulp
Visit localhost:3000
to see it in action.
In order to execute the terraform you will need to update the provider
block in main.tf
to reference your own profile, which can typically be found in ~/.aws/credentials
.
You will also need to enter your TfL API credentials into terraform/.credentials
with the form
export APP_ID=XXXX
export APP_KEY=XXXX
Once you have done this, cd
into terraform/
and run terraform plan
and terraform apply
.