Skip to content

Update Creating a DANDI Instance docs based on feedback #203

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@ For `netlify.toml`: This should be located in the `web/` sub-directory -- [see D
For `.env.production`: This should also be located in the `web/` sub-directory -- [see DANDI Archive web/.env.production](https://github.com/dandi/dandi-archive/blob/master/web/.env.production). This is a file that will inject environment variables into the frontend upon build (e.g. `vite build`).

Update the relevant values that reflect what was in your `Social Application` object for both files. You will also notice an environment variable related to `Sentry` -- this value can be obtained from your Sentry account.

## Upgrade Amazon SES Account from sandbox to production mode

In Amazon Simple Email Service (SES) you will need to switch from SES sandbox to production, following the AWS [instructions](https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html).
While your account is in the Amazon SES sandbox, certain restrictions are applied such as the inability to send emails to non-verified email addresses.
This will cause errors when users are trying to create an account since the code is setup to send an email to the user once they have registered.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ First go to your `Account Settings`:

<br/><br/>
<img
src="../../../img/heroku_settings.jpg"
src="../../../img/heroku_account_settings.jpg"
alt="heroku_app_name"
style="width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto;"/>
<br/><br/>
Expand Down Expand Up @@ -216,7 +216,7 @@ You'll be prompted with the following form -- see the example values populated i

<br/><br/>
<img
src="../../../img/register_new.jpg"
src="../img/register_new_oauth.jpg"
alt="retrieve"
style="width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto;"/>
<br/><br/>
Expand Down
Binary file added docs/img/heroku_account_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/register_new.jpg
Binary file not shown.
Binary file added docs/img/register_new_oauth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ theme:
logo: img/dandi-logo-square_sw.png
palette:
- scheme: default
toggle:
toggle:
icon: material/weather-night
name: Dark mode
primary: "dark blue"
accent: "light blue"
- scheme: slate
toggle:
toggle:
icon: material/weather-sunny
name: Light mode
primary: "dark blue"
Expand Down Expand Up @@ -76,10 +76,10 @@ nav:
- Creating a DANDI Instance:
- Overview: "developer-guide/creating-dandi-instance/index.md"
- Initialize Vendor Accounts: "developer-guide/creating-dandi-instance/initialize-vendors.md"
- DANDI Authentication: "developer-guide/creating-dandi-instance/dandi-authentication.md"
- DANDI Client: "developer-guide/creating-dandi-instance/dandi-cli.md"
- DANDI Infrastructure: "developer-guide/creating-dandi-instance/dandi-infrastructure.md"
- DANDI Archive: "developer-guide/creating-dandi-instance/dandi-archive.md"
- DANDI Authentication: "developer-guide/creating-dandi-instance/dandi-authentication.md"
- DANDI Client: "developer-guide/creating-dandi-instance/dandi-cli.md"
- DANDI Hub: "developer-guide/creating-dandi-instance/dandi-hub.md"
- Health Status:
- Dandisets: https://github.com/dandi/dandisets-healthstatus
Expand Down