psalaets / viilo

Office ping pong ELO ladder
1 stars 1 forks source link

status #1

Closed psalaets closed 9 years ago

psalaets commented 9 years ago

npm install

A lot of new deps are in so do this before anything

gulp serve

This will bounce the app and refresh browser (localhost:3000) any time anything changes. Doesn't run mongod yet though.

layout

There's a main layout at views/layouts/layout.hbs. All other templates have their content subbed into the {{{body}}} in layout.hbs

/players

This is where players are added to the system.

/results

This is where game results are reported to the system.

cleaning up your mongo data

In yet another terminal, open the mongo shell

mongo

Once in there 'use' the viilo-dev database

use viilo-dev

commands

db.players.drop()

delete all players

db.players.find()

list all players

db.results.drop()

db.results.find()