Building - aelindeman/wmata-with-you GitHub Wiki

With CloudPebble

While CloudPebble still works:

  1. Clone this repo into CloudPebble
  2. Click Build
  3. Download the .pbw to your phone and install it through the Pebble app

Without CloudPebble

Contingency plan for when Fitbit inevitably shuts down CloudPebble:

  1. Install version 4.2.1 of pebble-tool
  • Do not use any newer version of pebble-tool - it will refuse to build a pebble.js project
  1. Install the Pebble SDK
  • pebble-tool 4.2.1 might not be able to install a version newer than 3.14, YMMV
  • Hopefully the servers from which the SDK is retrieved don't ever go down...
  1. (optional) Run npm install --only=dev and npm test if you modified any code and want to test stuff
  2. Copy in your WMATA API key into src/urls.js
  1. Clone down pebble.js into a subfolder in the WMATA With You working directory

  2. Merge WMATA With You into pebble.js:

    mkdir -p src/js/
    mv src/*.js src/js/
    cp -a -n pebblejs/{resources,src,waftools,wscript} .
    
  3. Run pebble build

  4. Copy build/wmata-with-you.pbw to your phone and install it through the Pebble app

  • You may need to allow Pebble to install software from unverified sources