This git repo contains all the code you need to prototype apps for the Proto Watch.
See the Installation Instructions
- Check the CI build, do not commit unless it's passing!
git pull --rebase
grunt pre-commit
- Fix any errors
git push
To view the build status and get notifications about the build status:
- Visit Snap CI and click "CCTray" in the top right of the screen
- Add the XML config to CCTray or CCMenu on your dev machine
You can also access the CI server and view the status of the build here Snap CI
There are a number of pieces in the tech stack but many of them are just to provide automation and don't have to touched or understood in order to build Proto Watch apps.
During the project you'll mostly be working with JavaScript, Backbone and Jasmine.
You should only need to work on files inside the client/
directory if you are building a watch app.
- Backbone - Javascript app framework
- Underscore - JavaScript utility methods
- jQuery - HTML/DOM Manipulation
- Handlebars - HTML Templating
- SCSS - CSS Styling
Tests are written using Jasmine and run using Karma. jQuery matchers are available to make view testing easier.
- Karma - Test runner
- Jasmine - Javascript testing
- Jasmine jQuery Matchers - jQuery based matchers for testing
These are used to automate various tasks in your development environment and deploy automatically to the Heroku staging environment.
The Proto Watch is designed to be a simple low cost device.
- Audio: speaker
- Input: 5 mechanical buttons
- Screen: 240-by-240-pixel resolution. 1.54” (diagonal) colour TFT display
- Capacity: 256MB Enough for a large amount of text, no video or images (beyond UI elements i.e. no photo, video or music library)
- GPS: Yes
- Expansion: None
- Networking: GPRS or less*
- Battery and Power: Built in rechargeable batter
- With regards to networking the actual speed depends on your target audience i.e. do some research but will be capped at GPRS speeds. Basically make ajax network requests for JSON data
How do I run a subset of test?
Replace it and describe with fit or fdescribe
I've got more questions
Look at the further reading section below ;-)
You don't need to read the whole book but it's worth going over the first couple of chapters to understand how this is different from a regular MVC framework.
An excellent online tutorial for getting started with Git.