Test
====

Test repository.

### Local run

1. Clone
2. `npm install`
3. `bower install`
4. Validate and test: `grunt`
5. Run in dev: `grunt server`, run in prod: `grunt server:dist`

## Heroku deploy

### First time

1. Do local run steps 1-4

3. For a random new app use `yo angular-fullstack:deploy heroku`.
For existing app use `grunt heroku`
4. Make sure `heroku/Procfile` exists with contents `web: node server.js`
5. `cd heroku`
6. `git init`, `git add .`, `git commit -m 'init'`
7. `git remote add heroku git@heroku.com/your-app.git`
8. Heroku somewhy does not run node in production, `heroku config:set NODE_ENV=production`
9. `git push heroku master`

### Already deployed

1. `grunt heroku`
2. `cd heroku`
3. `git commit -m 'what is new'`
4. `git push heroku master`

Test
====

Test repository.

### Local run

1. Clone
2. `npm install`
3. `bower install`
4. Validate and test: `grunt`
5. Run in dev: `grunt server`, run in prod: `grunt server:dist`

## Heroku deploy

### First time

1. Do local run steps 1-4

3. For a random new app use `yo angular-fullstack:deploy heroku`.
For existing app use `grunt heroku`
4. Make sure `heroku/Procfile` exists with contents `web: node server.js`
5. `cd heroku`
6. `git init`, `git add .`, `git commit -m 'init'`
7. `git remote add heroku git@heroku.com/your-app.git`
8. Heroku somewhy does not run node in production, `heroku config:set NODE_ENV=production`
9. `git push heroku master`

### Already deployed

1. `grunt heroku`
2. `cd heroku`
3. `git add .`, `git commit -m 'what is new'`
4. `git push heroku master`

Update readme for heroku deployment
Update readme for heroku deployment
