Help makers making Internet of Personal Things.
- Download CSK and uncompress the package.
- Run
$ cd dotcity-starter-kit
to change the directory. - Run
$ npm install --global gulp
to install Gulp. - Run
$ npm install --global bower
to install Bower. - Run
$ npm install
to install the dependencies if you don't already have them. - Run
$ bower install
to install the dependencies if your don't already have them. - Run
$ gulp build
to build the application scripts. - Open
index.html
with your faroviate browser. The web app page is empty now. - Append the device name in the URL as an frontend routing parameter. For example
index.html#5547870f4dd3e08d63000007
- Node.js. Note: Node should be with a version above 0.10.x.
- Gulp. Note: Run
$ npm install --global gulp
to install the latest version. - Bower. Note: Run
$ npm install --global bower
to install the latest versin. - Note:
git
command line interface is needed for Bower.
- Please visit WoT.City Platform.
- Signup to create your account.
- Login to your account.
- Click Device Manager at the left side menu.
- Click Launch New Device button to create a new device instance.
- Copy your device name at Device Name (Physical Object) column.
There are various ways to get involved with .CITY Starter Kit. We're looking for help identifying bugs, writing documentation and contributing codes.
Most of the .CITY Starter Kit developers, users and contributors are at WeChat group or IRC channel. You can find us in the #wotcity IRC channel on irc.freenode.net. You can get information of how to join WeChat group at #wotcity.
Bugs are reported via https://github.com/wotcity/dotcity-starter-kit.
.CITY Starter Kit project follows jQuery's Style Guides except that:
forin
must be used in .CITY Starter Kit project.quotmark
must besingle
. Strings must use singlequote.
.CITY Starter Kit project uses JSHint to validate code styles. The JSHint options are stored in the .jshintrc
file. Run $ gulp jshint
to detect errors.
Apache License