Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theiliad/ibm-iotp-monitoring-control
Monitor iot-conveyor-belt devices on your IBM IoT Platform Instance
https://github.com/theiliad/ibm-iotp-monitoring-control
angular-cli angular2 expressjs ibm-watson iot mqtt socket-io
Last synced: 14 days ago
JSON representation
Monitor iot-conveyor-belt devices on your IBM IoT Platform Instance
- Host: GitHub
- URL: https://github.com/theiliad/ibm-iotp-monitoring-control
- Owner: theiliad
- Created: 2017-05-03T19:36:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T13:45:45.000Z (over 7 years ago)
- Last Synced: 2024-10-11T11:11:27.387Z (28 days ago)
- Topics: angular-cli, angular2, expressjs, ibm-watson, iot, mqtt, socket-io
- Language: CSS
- Homepage:
- Size: 2.91 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MonitoringControl
## Set-up
In your IBM Watson IoT Platform service, generate a new application API key.
Watson IoTP `.internetofthings.ibmcloud.com/dashboard/#/apps/apikeys-v2`Set the application permissions to the lowest level it requires: Visualization Application. If you add more features to the application, you'll need to elevate it to a higher role.
Docs: https://bluemix.net/docs/services/IoT/platform_authorization.html#api-key
## To Run Locally
1. Run **`npm install -g @angular/cli`** to install the Angular CLI
2. Run **`npm install`**
3. Create a file named **basicConfig.json** in the root folder of this repo with this content:
```json
{
"org": "{{your_org_ID}}",
"apiKey": "{{your_API_key}}",
"apiToken": "{{your_API_token}}"
}
```
4. Run `npm run build-run` to build the project and start the app.
5. Go to [http://localhost:3000](http://localhost:3000) on your browser## To Deploy to Bluemix
1. Run **`npm install -g @angular/cli`** to install the Angular CLI
2. Run **`npm install`**
3. Create a file named **basicConfig.json** in the root folder of this repo with this content:
```json
{
"org": "{{your_org_ID}}",
"apiKey": "{{your_API_key}}",
"apiToken": "{{your_API_token}}"
}
```
4. Run **`npm run push`** to build the project and push using **Cloud Foundry**.This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0-rc.1.