[x] Your team's team02-qa app is configured for
Google OAuth. This requires creating
a GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET
for the app, and the configuring the
environment variables using dokku config:set ...
[x] Your team's team02-qa app is configured with the
environment variables PRODUCTION=true and
ADMIN_EMAILS=....
(Note that we set PRODUCTION=true even on the
qa instance. This is understandably confusing,
but if you read the section of the web page linked below about what PRODUCTION=true it should be
more clear why we do that.)
Set up a team deployment for qa on Dokku
Acceptance Criteria:
[x] On your team's dokku instance, there is an app called team02-qa
Command:
See: https://ucsb-cs156.github.io/topics/dokku/
[x] On your team's dokku instance, you have enabled https for
team02-qa
See: https://ucsb-cs156.github.io/topics/dokku/enabling_https.html
[x] On your team's dokku instance, you have followed the steps to configure your app for postgres
https://ucsb-cs156.github.io/topics/dokku/postgres_database.html
[x] Your team's team02-qa app is configured for Google OAuth. This requires creating a
GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
for the app, and the configuring the environment variables usingdokku config:set ...
[x] Your team's team02-qa app is configured with the environment variables
PRODUCTION=true
andADMIN_EMAILS=...
.(Note that we set
PRODUCTION=true
even on the qa instance. This is understandably confusing, but if you read the section of the web page linked below about whatPRODUCTION=true
it should be more clear why we do that.)[x] The main branch is deployed on Dokku at, for example, https://team02-prod.dokku-xx-cs.ucsb.edu (substituting your own dokku instance number in place of
xx
)[x] A links to your team's qa deployment is added to the top of your team's
README.md
file, replacing theTODO
entry.