A demo version of this application is available at https://tripviewer.herokuapp.com.
After deploying, you will need to use the Automatic Developer Apps Manager to set your application's redirect URL to match the Heroku app name you selected when deploying. For instance, if you name your app
tripviewer-test in Heroku your redirect URL should be
https://tripviewer-test.herokuapp.com/redirect. Note that the URL must start with
brew install node npm install gulp -g
Copy the file
config.json and add your Automatic client id and client secret. Alternatively, create environment variables named
cp config-sample.json config.json
Get a mapbox access token and add it to the
DEBUG=tripviewer gulp develop
localhost:3000 in your browser.
Trips are cached in the browser using localstorage. To clear that, open the developer console and type:
You can test locally as a logged in user, bypassing OAuth by including an
access_token when running the app.
DEBUG=tripviewer TOKEN=YOUR-AUTOMATIC-ACCESS-TOKEN gulp develop
Please write to email@example.com if you have any questions or need help.
This project is licensed under the terms of the Apache 2.0 license.