Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.37 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.37 KB

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?)