Skip to content

openlexington/gethelpky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5147b78 · Jun 18, 2016
Jan 1, 2016
Oct 13, 2015
May 28, 2014
Apr 14, 2016
Apr 13, 2016
Feb 18, 2016
Aug 11, 2014
Dec 30, 2015
Nov 9, 2014
Mar 19, 2014
Jun 18, 2016
Jan 31, 2016
Mar 17, 2016
Jun 1, 2015
Jan 25, 2016
Apr 12, 2016
May 25, 2016
Oct 13, 2015
Aug 29, 2015
Oct 9, 2013
Mar 18, 2016
Apr 12, 2016
Jul 6, 2015
Aug 29, 2015

Repository files navigation

Get Help Lex Build Status Stories in Ready

I want to help develop Finda

Great! Quick setup:

npm install
npm install -g http-server
npm start

Visit localhost:8080 to see the app.

A bit more background:

The project is based on Code for Boston's finda project. In Lexington we've customized it for our needs:

  • The facilities are read from a Google spreadsheet using the Tabletop.js library. This way our stakeholders have realtime ability to update facilities.
  • We hacked the facet handling to guide the user through a 'survey'. It narrows down the facilities based on type of treatment, the insurance they accept, etc.

Let's say you want to new information about facilities like "do they let you smoke." You would want to add a column to the facilities spreadsheet called smoking_permited (or similar):

  • make a copy of the existing spreadsheet
  • copy paste the new spreadsheet's key to the Tabletop.js init
  • then you'll update config.json [todo, flesh this step out more :)]

A lot of Code for Boston's development documentation is still relevant. Let us know if you hit any key differences for Lexington and we'll update this readme!

Look in the waffle board for priority issues.

How to Test

You can run tests once by running: npm test

Keep test server running to speed up tests. Start test server:

npm run test-server

Kick off a test run when the test server is running:

npm run test-client

Analytics and feedback

GetHelpLex uses Google Tag Manager to manage Google Analytics as described in the Unified Analytics repository.

GetHelpLex posts feedback to a Google Spreadsheet as described here. As a backup, feedback is tracked using the ga-feedback approach managed by Google Tag Manager as described here.

Feedback is emailed to addresses defined in the script attached to the feedback spreadsheet.

To make changes to the script that handles feedback requests:

  • edit in the Appscript editor
  • Publish > Deploy as webapp > Version: new

Add map coordinates for new facilities

Geocode facilites