lemongrabs / get-here

wayfinding webapp to help people get from manhattan to fire island, made with love for our friends at sharegurl.com.
http://ferry.sharegurl.com
MIT License
0 stars 0 forks source link

ShareGurl: Getting to Fire Island

A little something we made for our friends at ShareGurl.

Development

Environment Variables

You're going to need to set a GOOGLE_API_KEY for a project for which the "Directions API" is enabled. For more information, refer to the official documentation.

Running

  1. Install Leiningen
  2. Install [Babel]()
  3. lein run <PORT>

Compiling assets

Setup

  1. npm install

Watching

  1. ./node_modules/.bin/babel resources/static/js/components.jsx --watch --out-file resources/static/js/components-compiled.js to watch jsx file
  2. lein watch to watch scss/js

Building

  1. ./node_modules/.bin/babel resources/static/js/components.jsx --out-file resources/static/js/components-compiled.js to compile jsx once
  2. lein build to compile/concat/minify

Alt text