/CityPopulation

Tel-Aviv Population on MapBox for City's districts between 2009-2016. https://tlvpopulation.herokuapp.com/dist/

Primary LanguageJavaScriptMIT LicenseMIT

Build Status license status commits

Population data is taken from publicly accessible Google Sheets. This is a stand-alone site but targeted to be an application for TLV ODS portal.

How to build

  1. Clone the repo
  2. yarn install
  3. Install geojson-merge globally: yarn global add @mapbox/geojson-merge
  4. Then yarn prepare to merge geoJsons for city districts into one file (server as .json)

How to launch

  1. Install serve globally
  2. Then just run serve from the root folder Or
  3. Run yarn start-local to serve from webpack-dev-server

How to launch for Heroku

  1. Just deploy to Heroku by pushing to GitHub. It's synchronized! After deployent, script heroku-postbuild will be executed and bundle.js will be created there. The launch target is here