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

来源:互联网 发布:如何考核淘宝网店客服 编辑:程序博客网 时间:2024/05/01 13:23

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

其次,打开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

第二步,安装依赖

$ 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

0 0