Skip to content

surtich/social-scoreboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

social-scoreboard

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.

Software dependencies

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

To Start

$ sudo mongodb

Launch local server

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/

To test with Cucumber:

$ npm install
$ bower install
$ grunt server-test

To test API with dredd

grunt
grunt dredd ##In other terminal

To deploy to OpenShift

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

To push changes:

$ git pull
$ git push openshift HEAD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages