Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.48 KB

OurDeploy.md

File metadata and controls

38 lines (31 loc) · 1.48 KB

CI / CD

  • Clone repo

  • npm install

  • Npm run test

  • Heroku account

  • Install heroku cli (its global)

  • heroku login

  • heroku create (bike shedding) :

  • Heroku expects master branch. So pull to master, and pull from master, and checkout master

  • Npm run deploy (to deploy bundle.js)

  • In heroku, add database resource

  • Seed database

    • heroku run bash

    • npm run seed

  • Add environmental vars for google stuff heroku environment variables

  • In google app, add the callback url and base url of our heroku app google console

Continuous Integration

  • Add the EccentricElves org to Travis Travis dashboard

  • Enable the repo for Travis Travis enable repo

  • Checkout to dev branch

  • npm run heroku-token

  • In package.json, add the following line: - “build”: “webpack” Travis enable repo

  • That should do it!