The project is generated by LoopBack.
Make sure you have installed all of the following prerequisites on your development machine:
- Node.js - Download & Install Node.js and the npm package manager. If you encounter any problems, you can also use this GitHub Gist to install Node.js.
- MySQL server - Download & Install MySQL server and setup root user as 'root' with password as 'password'. Start the MySQL server instance on default port. Create schema 'data_center_mashup'. Also feel free to change the data source details on \server\datasources.json.
- Bower - You're going to use the Bower Package Manager to manage your front-end packages. Make sure you've installed Node.js and npm first, then install bower globally using npm:
$ npm install -g bower
- Gulp - You're going to use the Gulp Task Runner to automate your development process. Make sure you've installed Node.js and npm first, then install gulp globally using npm:
$ npm install -g gulp
You can use Git to directly clone the DataCenterMashup repository from githubb:
$ git clone https://github.com/Octo-Hackathon/DataCenterMashup.git
This will clone the latest version of the DataCenterMashup repository to a DataCenterMashup folder.
Once you've cloned the repository and installed all the prerequisites, go to DataCenterMashup directory and install Node.js dependencies using npm:
$ npm install
Start your backend Node server. This will also create required tables and popule data from the datasets provided:
$ node .
After that, open a new command shell and go to DataCenterMashup/ui directory and build UI resources using:
$ npm install
$ bower install
After the install process is over, you'll be able to run your application using gulp.
$ gulp serve
Please see README to setup and start Report server.
Your application should run on port 3333, so in your browser just go to http://localhost:3333
That's it! Your application should be running.