jmcbroom / ddot-info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ddot.info gatsby material ui rewrite

Tasks

How can we keep this running smoothly with service changes? Ideally this would run hand in hand with the updates to Heroku.

  1. Get the new GTFS This usually happens through e-mail and then we post it to the open data portal, although it does get posted to detroitmi.gov as well.

  2. Bring the new GTFS into Postgres. We can use https://github.com/fitnr/gtfs-sql-importer

  3. Clean up the data:

  • copy stop names and location over from Tiffany's good file
  • routes: route name, route number, custom meta stuff
  • trip headsigns
  • timepoints (still manual)
  • route shapes? (AGO? Mapbox style/tileset?)
  1. Apply functions that we don't get for free with the sql-importer.
  • nearby transfers
  • stops-to-routes
  1. Run gatsby build

  2. Redeploy

How to use

Download the example or clone the repo:

curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/gatsby
cd gatsby

Install it and run:

npm install
npm run develop

The idea behind the example

Gatsby is a static site generator for React.

About


Languages

Language:JavaScript 97.7%Language:CSS 1.6%Language:HTML 0.8%