您的位置:首页 > 理论基础 > 计算机网络

https://github.com/MediaTek-Labs/linkit-smart-7688-webUI

2016-03-19 17:41 579 查看

Linkit-smart web UI

This is the web configuration panel and REST api provider you find running on your Linkit smart at http://mylinkit.local/

使用

首先,clone项目

$ git clone https://github.com/MediaTek-Labs/linkit-smart-7688-webUI.git[/code] 
其次,打开linkit-smart-7688-webUI

cd ./linkit-smart-7688-webUI


复制 /app/build/ 文件夹到 linkit smart的 /www/ 路径下。

复制3个文件 (/app/index.html 和 /app/zh-cn.html 和 /app/zh-tw.html) 到 linkit smart的 /www/ 路径下。

打开你的浏览器输入http://mylinkit.local/ , 你将看到这个webUI!

完成!

开发

Env

校验你的 node env :

node: 0.10.28

npm: 2.9.0

首先,clone 项目

$ git clone https://github.com/MediaTek-Labs/linkit-smart-webUI.git[/code] 
第二步,安装依赖

$ npm i


第三步,打开你的命令行

$ npm run watch


打开你的chrome,使用 –disable-web-security 模式.

$ open -n -a /Applications/Google\ Chrome.app --args --user-data-dir="/tmp/chrome_dev_session" --disable-web-security


最后,进入到 http://127.0.0.1:8081/app.

贡献

Fork 它

创建你的特性branch(git checkout -b my-new-feature)

Commit你的变化 (git commit -am ‘Add some feature’)

Push到branch (git push origin my-new-feature)

创建新的Pull Request

Hint: Please follow airbnb coding style guideline: https://github.com/airbnb/javascript

Todo

Test case

Add Makefile config
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: