/sample-ci-cd

Built and Deployed Continuously using Docker and Jenkins @ 192.241.217.191:3000

Primary LanguageJavaScriptOtherNOASSERTION

Build Status

##NodeJS Against Humanity

Orignally from: Amir Rajan - NodeJS Against Humanity

I did not fork the original project because I wanted to be able to showcase a CI/CD flow and couldn't with the github fork model.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic License.

NodeJS implementation of Cards Against Humanity. Here's a screenshot:

##Run Locally

Install all the dependencies:

npm install (you may need to prefix this with sudo if you're on Mac)

Run the app:

node server.js

Then navigate to http://localhost:3000

If you want tests to execute every time you change a file:

jasmine-node --junitreport spec/

Docker Commands

sudo docker build -t sabind/nodejs-against-humanity:master .
sudo docker run -d -p 3000:3000 --name sample-app sabind/nodejs-against-humanity:master start

done