Skip to content

codeforamerica/public_art_finder

Repository files navigation

Public Art Finder

How to setup the 'viewer' mobile app

  1. Get a CouchDB instance
  1. Install couchapps
  • recline or run: curl -X POST http://user:pass@YOURCOUCH/_replicate -d '{"source":"http://max.iriscouch.com/apps","target":"YOURDB", "doc_ids":["_design/recline"]}' -H "Content-type: application/json"
  • geojson-utils or run: curl -X POST http://user:pass@YOURCOUCH/_replicate -d '{"source":"http://max.iriscouch.com/apps","target":"YOURDB", "doc_ids":["_design/geo"]}' -H "Content-type: application/json"
  • viewer_couchapp (from this repo) or run: curl -X POST http://user:pass@YOURCOUCH/_replicate -d '{"source":"http://mertonium.iriscouch.com/apps","target":"YOURDB", "doc_ids":["_design/viewer"]}' -H "Content-type: application/json"
  1. Upload data
  • Via recline
  • Also upload template (so that the correct fields are in recline)
  1. Clean the data
  • Examples of common transforms
  • Make sure that the default fields are there
  • remove any columns you don't want
  1. Visit the app.

(put on datacouch?)

About

All the stuff needed to get a barebones Public Art Finder mobile website setup in your city.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published