-
Notifications
You must be signed in to change notification settings - Fork 1
07) Deployment
smccorma edited this page Jun 15, 2017
·
6 revisions
Used for continuous integration and deployment to Heroku. When developers push to a branch, gulp automation scripts will test the repository and deploy found changes to Heroku if passing.
Setup Commands
npm install -g gulp bower foremannpm installnpm install -g se-interpreternpm install sauce-connectexport SAUCE_USERNAME=SECRET_SAUCEexport SAUCE_ACCESS_KEY=SECRET_SAUCE_KEY
Sets up NodeJS environment and specifies to Heroku to use this version of NodeJS. Sauce connect was added for Selenium testing through Sauce Labs.
Testing
-
gulp test:server- see Server Tests - Selenium test scripts found in the
client/test/selenium- see User Tests
Deployment
- deploys master branch to: https://dockin.herokuapp.com/
Place to host web application.
AnchorBuddies
- environment where the master branch is deployed. Often acts as a development branch.
Note: All development would be done with local host, merged into the development branch.