Skip to content

How to deploy to the QA environment

Greg Maxin edited this page Oct 12, 2020 · 2 revisions

https://qa.cookiemonsterdata.com/

Frontend

  1. Set REACT_APP_SERVER_QA="https://qa.cookiemonsterdata.com"
  2. Set REACT_APP_NODE_ENV="qa"
  3. run `scripts/deployQA.sh"

Backend

  1. Go to Google VM instances Google Cloud VMs
  2. Click on cookie-monster-vm
  3. SSH into the VM (button near the top)
  4. sudo su
  5. /usr/local/lsws/cookie-monster/backend
  6. git pull
  7. npm install
  8. rm app.js
  9. cp server.js app.js
  10. systemctl restart lsws
Clone this wiki locally