Building - aelindeman/wmata-with-you GitHub Wiki
With CloudPebble
While CloudPebble still works:
- Clone this repo into CloudPebble
- Click Build
- Download the
.pbw
to your phone and install it through the Pebble app
Without CloudPebble
Contingency plan for when Fitbit inevitably shuts down CloudPebble:
- 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
- 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...
- (optional) Run
npm install --only=dev
andnpm test
if you modified any code and want to test stuff - Copy in your WMATA API key into
src/urls.js
- You will need your own key from http://developer.wmata.com/
-
Clone down pebble.js into a subfolder in the WMATA With You working directory
-
Merge WMATA With You into pebble.js:
mkdir -p src/js/ mv src/*.js src/js/ cp -a -n pebblejs/{resources,src,waftools,wscript} .
-
Run
pebble build
-
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