1.0.0 • Published 3 years ago
trinhhuongpackagenpm v1.0.0
SDK Builder
SDK Builder is a Nodejs source for create ecofly sdk.
Installation
Make sure that you have install nodejs and npm in your enviroment, If not, install nodejs and package manager npm :
$ sudo apt install nodejs npm
Then, Install requirements
$ npm install
Usage
Create user config
$ node createConfig.js
Select main file in src/ folder which you need to build
Copy config
{"t": ..., "s": ..., ..., "u": ...}
in console and replace tocfg
variable in the top ofsrc/<youchoose.main.js>
You can also config
checkingHost
orccuHost
variable in this file
Finally, Build your sdk with command :
$ gulp --main "main.js_name" --output "sdk_name"
main.js_name
is name of js file which you choose in src/ foldersdk_name
is name of output sdk
SDK with name sdk_name
was generated in dist
folder
Contact
Trinh Huong - trinhhuong244@gmail.com
License
1.0.0
3 years ago