Skip to content

walkerrandolphsmith/triple-triad

Repository files navigation

Triple Triad Codeship

Web application for playing the card game, triple triad.

##Issues GitHub issues Stories in Ready

Please file bugs here. Items are tracked with waffle.io.

Include closes, fixes, or resolves in a commit message to close the issue.
For example git commit -m "This closes #34, and closes #23"

##Playing the game

At the moment there are a couple of ways to play the game.

  1. Get the latest docker image by issuing:
    docker pull walkerrandolphsmith/triple-triad
  2. Clone the repo and build your own image.
    docker-compose up
  3. Clone the repo and build following the development section of this readme.

##Development This application requires Node and Mongo.

####Install Node

Add the following line to .bash_profile

export PATH=$PATH:/usr/local/git/bin:/usr/local/bin
git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install
node --version

####Install Node Modules

npm install

####Start App

mongod
#In another terminal
npm start

####Run Linter

npm run lint

####Run Tests

npm test
npm run test:unit # runs unit tests
rpm run test:integration # runs integration tests

Wallaby is also supported as a testing tool to continuously run your test and see the results immediately as you change the code.