This repository contains the core components of the Server service released under the µCtrl source project.
For now, server will only collect statistics out the devices in µCtrl system.
- Node.js - Download and Install node.js. You can also follow this gist for a quick and easy way to install Node.js and npm
- MongoDB - Download and Install MongoDB - Make sure it's running on the default port (27017).
There's a script in script/bootstrap-mac. It will make you have Homebrew, Node.js and MongoDB installed. If not, it will install them. After, it will install all dependencies, so the only command to run is gulp.
The quickest way to get started with the project is to clone it and utilize it like this:
Install dependencies:
$ npm install
Then you can gulp to start the server:
$ gulp
When not using gulp you can use:
$ node server.js
Then open a browser and go to:
http://localhost:3000