Skip to content

Deploying the Application

Eric Caron edited this page May 16, 2016 · 1 revision

Deploy the App to Github Pages

The deployment process is essentially merging master into a GitHub branch:

  1. On your local machine:
    1. Pull master
    2. Switch to gh-pages branch
    3. git merge master
  2. All tests run successfully rm -rf node_modules && npm install && npm run update-webdriver && grunt test
  3. Application starts successfully npm start
  4. Commit and push to origin.
  5. Confirm bower_components are not ignored when gh_pages is pushed to GitHub:
    1. The gh-pages require the bower_components/ directory so you'll notice the .gitignore doesn't include this entry, but the master branch does ignore it.
    2. This means before you push a new gh-pages branch, you'll need to do an npm start at least once.
  6. View results on github pages.
Clone this wiki locally