Skip to content

Commit

Permalink
more dandi infra org
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Apr 22, 2024
1 parent dfb655c commit 38cd078
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/61_dandi_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ created during [Obtaining your Oauth App creds](..60_initialize_vendors/#obtaini

### Creating "Sites" and "Social App" Objects

*In order to complete this step, you will need to have deployed an initial DANDI Archive API -- see here for more details [Creating the DANDI Archive API](../64_dandi_archive)
**In order to complete this step, you will need to have deployed an initial DANDI Archive API** -- see here for more details [Creating the DANDI Archive API](../64_dandi_archive)

First, sign in via the Django admin panel with your credentials created via the [Creating an admin user account for the DANDI Archive API step](../64_dandi_archive/#creating-a-django-superuser-admin-account)

Expand Down
31 changes: 29 additions & 2 deletions docs/63_dandi_infrastructure.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Work In Progress

## Understanding the DANDI Infrastructure

### Girder

### AWS Buckets

### Domain Management

### Staging vs. Production

## Configuring Terraform

[First, make sure you have properly set up your Terraform Cloud account and linked the account to the proper GitHub repository](../60_initialize_vendors/#terraform-cloud)
Expand All @@ -24,7 +34,9 @@ There are two ways in which you can invoke `terraform plan` and `terraform apply
This is set to occur by default when you connect a GitHub repository to Terraform Cloud. After pushing code to your repository,
Terraform will run `terraform plan`, generating a summary of what will happen if you were to run `terraform apply`.

**Note: `terraform apply` will not be run automatically (this is good!), so be sure to review and check prior to applying
**Note: `terraform apply` will not be run automatically (this is good!), so be sure to review and check prior to applying.

To view, go to the `Runs` tab -- you will see that the Terraform run populates the GitHub code action above

<br/><br/>
<img
Expand All @@ -33,6 +45,21 @@ alt="terraform_auto"
style="width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto;"/>
<br/><br/>

### Trigger Run from UI manually

If you'd like more control over Terraform, you can also default to run manually.

<br/><br/>
<img
src="../img/terraform_manual.png"
alt="terraform_manual"
style="width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto;"/>
<br/><br/>

## Manual Steps in the AWS Console and Netlify

## Setting up Email


## Setting up Email

TBD
Binary file added docs/img/terraform_manual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 38cd078

Please sign in to comment.