mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 14:03:52 +00:00
Rename Factory to Foundry
This commit is contained in:
parent
0a8fda040b
commit
324de36577
256 changed files with 605 additions and 603 deletions
|
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
title: "Factory Self-Hosting"
|
||||
description: "Environment, credentials, and deployment setup for Sandbox Agent Factory auth, GitHub, and billing."
|
||||
title: "Foundry Self-Hosting"
|
||||
description: "Environment, credentials, and deployment setup for Sandbox Agent Foundry auth, GitHub, and billing."
|
||||
---
|
||||
|
||||
This guide documents the deployment contract for the Factory product surface: app auth, GitHub onboarding, repository import, and billing.
|
||||
This guide documents the deployment contract for the Foundry product surface: app auth, GitHub onboarding, repository import, and billing.
|
||||
|
||||
It also covers the local-development bootstrap that uses `.env.development` only when `NODE_ENV=development`.
|
||||
|
||||
## Local Development
|
||||
|
||||
For backend local development, the Factory backend now supports a development-only dotenv bootstrap:
|
||||
For backend local development, the Foundry backend now supports a development-only dotenv bootstrap:
|
||||
|
||||
- It loads `.env.development.local` and `.env.development`
|
||||
- It does this **only** when `NODE_ENV=development`
|
||||
|
|
@ -26,7 +26,7 @@ cp .env.development.example .env.development
|
|||
Run the backend with:
|
||||
|
||||
```bash
|
||||
just factory-backend-start
|
||||
just foundry-backend-start
|
||||
```
|
||||
|
||||
That recipe sets `NODE_ENV=development`, which enables the dotenv loader.
|
||||
|
|
@ -37,7 +37,7 @@ These values can be safely defaulted for local development:
|
|||
|
||||
- `APP_URL=http://localhost:4173`
|
||||
- `BETTER_AUTH_URL=http://localhost:4173`
|
||||
- `BETTER_AUTH_SECRET=sandbox-agent-factory-development-only-change-me`
|
||||
- `BETTER_AUTH_SECRET=sandbox-agent-foundry-development-only-change-me`
|
||||
- `GITHUB_REDIRECT_URI=http://localhost:4173/api/rivet/app/auth/github/callback`
|
||||
|
||||
These should be treated as development-only values.
|
||||
|
|
@ -71,7 +71,7 @@ Use GitHub OAuth for:
|
|||
|
||||
## GitHub App
|
||||
|
||||
If your Factory deployment uses GitHub App-backed organization install and repo import, also configure:
|
||||
If your Foundry deployment uses GitHub App-backed organization install and repo import, also configure:
|
||||
|
||||
| Variable | Required | Notes |
|
||||
|---|---:|---|
|
||||
|
|
@ -139,7 +139,7 @@ Stripe should own:
|
|||
|
||||
## Mock Invariant
|
||||
|
||||
Factory’s mock client path should continue to work end to end even when the real auth/GitHub/Stripe path exists.
|
||||
Foundry’s mock client path should continue to work end to end even when the real auth/GitHub/Stripe path exists.
|
||||
|
||||
That includes:
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue