urbica / galton

Lightweight Node.js isochrone map server
https://galton.urbica.co
MIT License
272 stars 36 forks source link

Upgrade node-isochrones to 2.0.0 #182

Closed glifchits closed 7 years ago

glifchits commented 7 years ago

This is just following up on https://github.com/stepankuzmin/node-isochrone/pull/27. I implemented deintersect as a Galton configuration option.

I also made some fixes to the Dockerfile:

  1. To support Node 7, I added dependencies to build OSRM from source. This is because the OSRM team only publishes binaries for Node 4 and 6 (see here). With these dependencies, the node-osrm package will build OSRM from source. Without them, the Dockerfile will fail to build.
  2. Implemented a common trick to cache the RUN yarn layer in the Dockerfile. Without this, yarn is run each time the app code changes, even if the package.json is unchanged.
glifchits commented 7 years ago

Finally fixed Travis! 🙌

stepankuzmin commented 7 years ago

Woah! Great work @glifchits 💥💥💥

I'll release a new version soon.