8d53cfe04b
Refactor the generator. Refactor the code for generator phase ii. Refactor the code for generator to support more features. |
||
---|---|---|
generators | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
index.js | ||
package.json |
README.md
Contributing
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Azure IoT Gateway Module Generator
generator-az-iot-gw-module
creates a base template to start a new gateway module in Node.js.
Prerequisites
- Install latest Node LTS.
npm install -g yo
.
Install(Temporary)
$git clone https://github.com/Azure/generator-az-iot-gw-module
$cd generator-az-iot-gw-module
$npm link
Note that once this generator is released publically, the install will be changed to: npm install -g generator-az-iot-gw-module
.
Usage
$yo az-iot-gw-module
Note that this template will generate files in the current directory, so be sure always to run it against a new directory
Running module(s) on gateway
Once the project is scaffolded, at the root folder run:
$npm install
$npm start