General Notes

Timeline

Please take note of the following targets and dates:

April 10: ODE will send BR a first dataset (c. 400 organizations) April 10-30: Data collection continues. April 30: Map (beta) May 1 - 12): Map testing and iteration May 13: Official launch of the Map

Map Resources

Country Codes - http://en.wikipedia.org/wiki/ISO_3166-1

For city level data, you can either use a Placefinder – Esri has one built into ArcGIS Online - http://www.arcgis.com/home/webmap/viewer.html?useExisting=1 (top right) - https://developers.arcgis.com/javascript/jssamples/index.html#search - http://www.geonames.org

Configuring a remote host using ansible playbook

Note the , in the name of server to indicate the information is a list and not reference to an inventory file

# Dry run from local machine to remote machine
ansible-playbook -i 'odetest.govready.org,' -u root --check playbook-digitalocean.yml 

# Execute from local machine to remote machine
ansible-playbook -i 'odetest.govready.org,' -u root --check playbook-digitalocean.yml 

After configuring server, do the following. - Create user with github access to repository (e.g., 'gregelin') - Grant user sudo privileges - CD into ~/.ssh and create rsa_id key - Cat and copy rsa_id.pub to computer clipboard and add to deploy keys - Remember to create credentials.inc.php file

How to use

http://192.168.56.101/survey/opendata/ will taky user to http://192.168.56.101/survey/opendata/start/ will create a record and direct them to survey.

Links

Snippets

Mailgun

curl -s --user 'api:key-c70b6xxxxxxxxxxxx' \
https://api.mailgun.net/v3/sandboxc1675fc5cc30472ca9bd4af8028cbcdf.mailgun.org/messages \
-F from='Excited User <mailgun@sandboxc1675fc5cc30472ca9bd4af8028cbcdf.mailgun.org>' \
-F to=greg@odenterprise.org \
-F subject='Hello' \
-F text='Testing some Mailgun awesomness!'

ArcGIS Online

http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?f=pjson&text=Raleigh, NC, USA

Placefinder

Country Codes - http://en.wikipedia.org/wiki/ISO_3166-1

For city level data, you can either use a Placefinder – Esri has one built into ArcGIS Online - http://www.arcgis.com/home/webmap/viewer.html?useExisting=1 (top right) - https://developers.arcgis.com/javascript/jssamples/index.html#search

Miscellaneous Working Notes