-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3247 from responsible-ai-collaborative/staging
Deploy to Production
- Loading branch information
Showing
87 changed files
with
2,779 additions
and
8,549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,9 @@ Once you have cloned the repository, to set up a local development environment f | |
CLOUDFLARE_R2_SECRET_ACCESS_KEY= # Secret access key for Cloudflare R2 storage | ||
CLOUDFLARE_R2_BUCKET_NAME= # Name of the Cloudflare R2 bucket for storage | ||
GATSBY_CLOUDFLARE_R2_PUBLIC_BUCKET_URL= # Public URL for accessing the Cloudflare R2 bucket from the Gatsby app | ||
MAILERSEND_API_KEY= # API key for MailerSend email service or dummy value if you don't plan to send emails | ||
NOTIFICATIONS_SENDER_NAME=AIID Notifications # Name of the sender for email notifications | ||
NOTIFICATIONS_SENDER=[email protected] # Email address of the sender for email notifications | ||
MAILERSEND_API_KEY= # API key for MailerSend email service | ||
NOTIFICATIONS_SENDER_NAME= # Name of the sender for email notifications | ||
NOTIFICATIONS_SENDER= # Email address of the sender for email notifications | ||
SITE_URL=http://localhost:8000 | ||
``` | ||
|
||
|
@@ -150,6 +150,7 @@ npm run codegen | |
### Schema and API Stitching | ||
|
||
> [!IMPORTANT] | ||
The API previously relied on the MongoDB Atlas Realm GraphQL API to fetch data, [but now that it has been deprecated](https://www.mongodb.com/developer/products/atlas/deprecating-mongodb-atlas-graphql-hosting-services/), we have migrated to a new API that we implement in this codebase. During the migration from Realm to our API, we stitch two GraphQL schemas: the auto-generated one from Atlas and the one defined in this codebase. These schemas can be found in the `remote.ts` and `local.ts` files respectively. The migration process involves progressively transferring GraphQL fields and functionality from the remote schema to the local one. The final combined schema is found in `schema.ts`. | ||
|
||
### Email notifications | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.