https://github.com/octoblu/generator-meshblu-connector
Generator for meshblu connectors
https://github.com/octoblu/generator-meshblu-connector
Last synced: over 1 year ago
JSON representation
Generator for meshblu connectors
- Host: GitHub
- URL: https://github.com/octoblu/generator-meshblu-connector
- Owner: octoblu
- License: mit
- Created: 2014-10-13T19:07:27.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T16:34:11.000Z (about 9 years ago)
- Last Synced: 2025-04-28T11:02:14.095Z (over 1 year ago)
- Language: CoffeeScript
- Homepage: https://meshblu-connectors.readme.io
- Size: 180 KB
- Stars: 5
- Watchers: 18
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-meshblu-connector
[](https://david-dm.org/octoblu/generator-meshblu-connector)
[](https://david-dm.org/octoblu/generator-meshblu-connector#info=devDependencies)
[](https://travis-ci.org/octoblu/generator-meshblu-connector)
[](http://community-slack.octoblu.com)
[](https://npmjs.org/package/generator-meshblu-connector)
> [Yeoman](http://yeoman.io) generator
A component of [Meshblu Connectors](https://meshblu-connectors.readme.io). Click [here](https://meshblu-connectors.readme.io/docs/connector-generator) to view the component documentation.
## Getting Started
### Install Yeoman
```bash
npm install -g yo
```
### Install the Generator
```bash
npm install -g generator-meshblu-connector
```
Finally, initiate the generator. However there is more automated [script](#update-meshblu-connector) for updating connectors.
```bash
yo meshblu-connector
```
### Automated Scripts
#### update-meshblu-connector
This script automates travis-ci, appveyor, running the generator, and updating the dependencies.
**Usage:**
```bash
cd /path/to/connector
env GITHUB_RELEASE_KEY='--insert-key-here--' APPVEYOR_GITHUB_RELEASE_KEY='--insert-key-here--' update-meshblu-connector
```
#### test-meshblu-connector
This script makes it easy to test a connector in production. It creates a Meshblu device, writes it to the meshblu.json, claims the device, updates the schema, and opens it in octoblu.
**Usage:**
```bash
cd /path/to/connector
test-meshblu-connector "--insert-octoblu-user-uuid---"
```
## License
MIT