WASdev/sample.coderally.nodeweb

Name: sample.coderally.nodeweb

Owner: WASdev

Description: Node.js web app for the Liberty-based Code Rally game - running this will let you play the game from a web browser.

Created: 2016-09-02 10:18:06.0

Updated: 2017-01-03 13:40:57.0

Pushed: 2017-05-18 21:54:09.0

Homepage: null

Size: 11585

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Code Rally Web Application

Node.js web app for the Liberty-based Code Rally game - running this will let you play the game from a web browser.

1. Clone repository

Navigate to a location on your local file system that you wish to clone coderally-web into and enter the following command in the terminal to clone the repository:

clone https://github.com/WASdev/sample.coderally.nodeweb.git
2. Install the Node modules

If you would like to run this application locally follow the steps in this section. To deploy to Bluemix, you can skip this step and head over to step 3.

Change into the directory that you have just cloned and install the node modules required to run coderally-web:

oderally-web
install --registry https://registry.npmjs.org/

After the node modules have finished installing, you can run the application locally by typing:

 app.js
3. Publishing to Bluemix
Prerequisite:
  1. Please make sure to create a Bluemix account if you do not have it already
  2. Install the CloudFoundry Command Line Tools
To publish the CodeRally Express application to IBM Bluemix, you must run the following commands:
  1. Login interactively using your Bluemix credentials: cf login -a https://api.ng.mybluemix.net
  2. Push your code rally app: cf push <APP_NAME> -d mybluemix.net

Congratulations, your app is now published to Bluemix. Run your application, by visitng http://<APP_NAME>.mybluemix.net/

Credits

Supervisor: Ivy Ho Developers: Karan (S.) Randhawa, Kelvin Chan, Fady Abdel Malik, Laven Sathiyanathan, Sakib Hasan


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.