rmd-dashboard
=============

ResMed Dashboard

# Dev setup
## Grunt
If you don't already have it, you will need to install the grunt-cli

    npm install -g grunt-cli

## Install dependencies
To set up the development environment, execute the following commands

    npm install
    grunt bower:install

## Run server in development mode

    grunt run

# Troubleshooting
## When I run `grunt bower:install` I get a Git error
Does it look like this?

    Fatal error: Failed to execute "git ls-remote --tags --heads git://github.com/SteveSanderson/knockout.git", exit code of #128

Your firewall is probably blocking connections to port 22 (SSH). Run the following command to use port 443 (SSL) for GitHub downloads (**Note**: this is a global change)

    git config --global url."https://".insteadOf git://

Read more about it [here](https://coderwall.com/p/sitezg).
rmd-dashboard
=============

ResMed Dashboard

# Dev setup
## Node
This project requires nodejs v0.10.x (v0.10.28 recommended for no particular reason). To install this version of node, run the following command (**Note**: if you don't have nvm, download and install it from [here](https://github.com/creationix/nvm))

    nvm install 0.10

To switch to this version of node, run this command:

    nvm use 0.10

If you would like to make this version of node your default version, run these two commands:

    nvm unalias default
    nvm alias default 0.10 

## Grunt
If you don't already have it, you will need to install the grunt-cli

    npm install -g grunt-cli

## Install dependencies
To set up the development environment, execute the following commands

    npm install
    grunt bower:install

## Run server in development mode

    grunt run

# Troubleshooting
## When I run `grunt bower:install` I get a Git error
Does it look like this?

    Fatal error: Failed to execute "git ls-remote --tags --heads git://github.com/SteveSanderson/knockout.git", exit code of #128

Your firewall is probably blocking connections to port 22 (SSH). Run the following command to use port 443 (SSL) for GitHub downloads (**Note**: this is a global change)

    git config --global url."https://".insteadOf git://

Read more about it [here](https://coderwall.com/p/sitezg).
Add instructions to update to the correct version of node and/or install nvm
Add instructions to update to the correct version of node and/or install nvm
