Help makers making Internet of Personal Things.
- Download CSK and uncompress the package.
- Run
$ cd dotcity-starter-kitto change the directory. - Run
$ npm install --global gulpto install Gulp. - Run
$ npm install --global bowerto install Bower. - Run
$ npm installto install the dependencies if you don't already have them. - Run
$ bower installto install the dependencies if your don't already have them. - Run
$ gulp buildto build the application scripts. - Open
index.htmlwith 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 gulpto install the latest version. - Bower. Note: Run
$ npm install --global bowerto install the latest versin. - Note:
gitcommand 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:
forinmust be used in .CITY Starter Kit project.quotmarkmust 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