Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kartben/m2meclipse-greenhouse-demo
This is the repository for the greenhouse demo that will be hosted 24/7 on m2m.eclipse.org
https://github.com/kartben/m2meclipse-greenhouse-demo
Last synced: about 4 hours ago
JSON representation
This is the repository for the greenhouse demo that will be hosted 24/7 on m2m.eclipse.org
- Host: GitHub
- URL: https://github.com/kartben/m2meclipse-greenhouse-demo
- Owner: kartben
- Created: 2013-04-15T09:39:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-19T15:51:37.000Z (over 11 years ago)
- Last Synced: 2024-04-15T02:54:30.066Z (7 months ago)
- Language: JavaScript
- Size: 621 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Install it
==========================
1. Install [Node.js](http://nodejs.org/).
2. Install Bower: `$ sudo npm install -g bower`.
* `-g` means _globally_, so it will be available system wide.
3. Go to the greenhouse root folder.
4. Install server application dependencies:`$ npm install`.
* `npm` will use `package.json` to fetch dependencies.
* Without `-g`, packages will be available only from this projects.
5. Go to `app/`: `$ cd app/`.6. Install UI dependencies using `bower`: `$ bower install`.
* `bower` will use `component.json` to fectch dependencies.
* They will also be available only for this project.
7. You're good to go.__Note__: You could also run all this at once from repository root:
```bash
$ sudo npm install -g bower && npm install && cd app/ && bower install && cd ..
```Run it
==========================
1. Go to the greenhouse root folder
2. run server on the port 80 by default (be aware that on linux only the root user can launch a server on the port 80):
21. `$ node serverstub [port]` to use a server which will use stub services instead of AirVantage services.
22. `$ node server [port]` to use a server which proxifies AirVantage services (edge.m2mop.net).
* :heavy_exclamation_mark: In this case, you should set your AirVantage information (credentials, IDs, ...) in `app/js/credentials.js`(see `app/js/credentials.default.js` sample).
Test it
==========================
1. Open [http://localhost](http://localhost), if any, precise the port of your server by adding ":"