Skip to content

johndorn/PingPong

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PingPong

A simple web app for Ping Pong scores. This is a work in progress.

Installation

This was build using Node.js(v0.10.10) and MongoDB(v2.4.4).

Start Mongo

sudo mongod

Install Node

To install with a package manager on linux, follow these instructions

Install Dependencies

cd app
npm install

Start app

Just Run...

node app/app.js

Tests

You have to have jasmine-node running. To install it run...

npm install jasmine-node -g

Then you can run the tests by turning on the server and run...

jasmine-node spec/

Dev collections

In order to import some data for your dev mongo, run the following:

$ mongoimport --db local --collection players --file players.json
$ mongoimport --db local --collection matches --file matches.json

If you don't do this, then you will have to create players and add games manually.

About

A simple web app for Ping Pong scores.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 60.6%
  • JavaScript 39.4%