Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up team deployment for qa on Dokku #14

Open
7 tasks done
wq12li opened this issue May 18, 2023 · 0 comments
Open
7 tasks done

Set up team deployment for qa on Dokku #14

wq12li opened this issue May 18, 2023 · 0 comments
Assignees

Comments

@wq12li
Copy link
Contributor

wq12li commented May 18, 2023

Set up a team deployment for qa on Dokku

Acceptance Criteria:

  • On your team's dokku instance, there is an app
    called team03-qa

    Command:
    
    ```
    dokku apps:create team03-qa
    ```
    
    See: <https://ucsb-cs156.github.io/topics/dokku/>
    
  • On your team's dokku instance, you have enabled
    https for team03-qa

    See: <https://ucsb-cs156.github.io/topics/dokku/enabling_https.html>
    
  • 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>
    
  • Your team's team03-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 ...

    * <https://ucsb-cs156.github.io/topics/oauth/oauth_google_setup.html>
    * <https://ucsb-cs156.github.io/topics/dokku/environment_variables.html>
    
  • Your team's team03-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.)
    
    * <https://ucsb-cs156.github.io/topics/dokku/environment_variables.html>
    
  • The main branch is deployed on Dokku at, for example,
    https://team03-prod.dokku-xx-cs.ucsb.edu (substituting your
    own dokku instance number in place of xx)

  • A links to your team's qa deployment is added to the top of your team's README.md file, replacing the TODO entry.

@wq12li wq12li self-assigned this May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant