-
Notifications
You must be signed in to change notification settings - Fork 9
Deploying the Application
Eric Caron edited this page May 16, 2016
·
1 revision
The deployment process is essentially merging master into a GitHub branch:
- On your local machine:
- Pull master
- Switch to gh-pages branch
git merge master
- All tests run successfully
rm -rf node_modules && npm install && npm run update-webdriver && grunt test
- Application starts successfully
npm start
- Commit and push to origin.
- Confirm bower_components are not ignored when gh_pages is pushed to GitHub:
- 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.
- This means before you push a new gh-pages branch, you'll need to do an
npm start
at least once.
- View results on github pages.