This application (demo) will be used to share the score of a basketball game between several people.
There will be a person attending the match and she will go updating the result for other people who are not there.
First off, you need install the following open source software:
- NodeJS: Important: use the version 0.10.26 or later. Installation guide
- g++: Some Node libraries require c++ compiler. Find out how to install it on your operating system (in Ubuntu:
sudo apt-get install gcc-defaults
). - MongoDB: We are using 2.4.8 Installation guide
- Grunt:
sudo npm install -g grunt-cli
- Bower:
sudo npm install -g bower
$ sudo mongodb
At the first time, open a console then go to the project folder and type the following command, installing all the dependencies required by NodeJS:
$ npm install
$ bower install
Then run the local dev server:
$ grunt
This will start the dev server at http://localhost:8000/
$ npm install
$ bower install
$ grunt server-test
grunt
grunt dredd ##In other terminal
To merge (see this):
$ git clone <GitHub-repo-url>
$ git remote add openshift -f <openshift-git-repo-url>
$ git merge openshift/master -s recursive -X ours
$ git pull
$ git push openshift HEAD