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

redeployment added to documentation #113

Merged
merged 1 commit into from
May 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/DEPLOY_TEARDOWN.MD
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ Grab your AWS credentials from the UQ Token Machine (link on Blackboard)

Access to this is restricted to the team. Please contact the team for the password and why you need it.

## To Redeploy (teardown followed by a deployment)

### Redeployment Workflow

1. After completing the requirements, go to the Github Actions and find the ```Manual AWS Redeployment``` workflow.
2. When prompted paste in the credentials into the credentials box
3. When prompted paste the Auth0 credentials and the database password into the box, in the format.
```export TF_VAR_auth0_domain=xxx \ export TF_VAR_auth0_client_id=xxx \ export TF_VAR_auth0_client_secret=xxx \ export TF_VAR_database_password=xxx``` where xxx is the appropriate value.
4. The redeployment will take a few minutes to complete.
5. Once the deployment is complete, you will be able to access the application at [Link](http://unibasement.g6.csse6400.xyz).

## To Deploy / Teardown

### Workflow
Expand All @@ -31,7 +42,7 @@ Access to this is restricted to the team. Please contact the team for the passwo
3. When prompted paste the Auth0 credentials and the database password into the box, in the format.
```export TF_VAR_auth0_domain=xxx \ export TF_VAR_auth0_client_id=xxx \ export TF_VAR_auth0_client_secret=xxx \ export TF_VAR_database_password=xxx```
4. The deployment will take a few minutes to complete.
5. Once the deployment is complete, you will be able to access the application at [Link](http://g6.g6.csse6400.xyz:3000/).
5. Once the deployment is complete, you will be able to access the application at [Link](http://unibasement.g6.csse6400.xyz/).

### Local

Expand Down
Loading