Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 1.9 KB

README.md

File metadata and controls

57 lines (48 loc) · 1.9 KB

Breazy

The personal pollution exposure monitor. Making the invisible, visible!

Setting up Ionic Framework for Mobile App

  1. http://nodejs.org/download/
  2. Android SDK - https://developer.android.com/sdk/index.html
  3. Apache Ant - http://ant.apache.org/bindownload.cgi
  4. Java SDK - http://www.oracle.com/technetwork/java/javase/index.html
  5. JAVA_HOME and ANDROID_HOME environment variables configured
  6. Ant on the PATH
  7. git clone https://github.com/catchmartin/Breazy.git
  8. cd Breazy/App
  9. rm -r mobile-treo
  10. npm install -g cordova ionic
  11. ionic start mobile-treo sidemenu
  12. cd mobile-treo
  13. ionic platform add android
  14. git reset --hard HEAD

notes: On a linux(Ubuntu 14.04 x64) I found that I had to install 2 packages to build/run the android app:

  1. sudo apt-get install lib32z1
  2. sudo apt-get install lib32stdc++6

Setting up the NodeRed server

  1. http://nodejs.org/download/
  2. http://nodered.org/docs/getting-started/installation.html

Scraping Info

  1. Weather
  2. Accuweather
  3. WeatheUnderground * http://www.wunderground.com/weather/api/ * http://www.wunderground.com/weather/api/d/docs * GET http://api.wunderground.com/api/Your_Key/features/settings/q/query.format * http://www.wunderground.com/weather/api/d/docs?d=data/index&MR=1 * treo * http://api.wunderground.com/api/$KEY/forecast/geolookup/conditions/q/CA/San_Francisco.json
  4. Sensor
  5. London Air Quality * http://api.erg.kcl.ac.uk/AirQuality/help