Skip to content

07) Deployment

smccorma edited this page Jun 15, 2017 · 6 revisions

Travis-CI

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 foreman
  • npm install
  • npm install -g se-interpreter
  • npm install sauce-connect
  • export SAUCE_USERNAME=SECRET_SAUCE
  • export 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

Heroku

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.

Clone this wiki locally