Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/marketing-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Factorize is deployed as a Cloudflare Pages site and an app Worker:
- `packages/marketing` owns the public landing page at `https://factorize.sh`. It is a static Cloudflare Pages project named `factorize-marketing`; its production branch is `main` and its output directory is `packages/marketing/public`. It contains no authenticated APIs or tenant data. Login and Create a Job links cross to `https://app.factorize.sh`.
- `packages/app` owns the authenticated dashboard, OAuth callbacks, API/MCP endpoints, provider webhooks, and job deep links at `https://app.factorize.sh`. Its `/` route is the signed-out login entry point and redirects signed-in users to `/jobs`.

The Pages project is connected to `GenerationSoftware/factorize` and automatically deploys production from `main`. Preview deployments are created for pull requests. For a manual deployment, authenticate Wrangler and run `npm run deploy:marketing`; this uploads `packages/marketing/public` to the `factorize-marketing` project.
The Pages project is connected to `GenerationSoftware/factorize` for pull request previews, but Cloudflare's automatic production deployments are disabled. Production deploys from `main` run through `.github/workflows/deploy.yml`, where failures are visible in GitHub Actions. For a manual deployment, authenticate Wrangler and run `npm run deploy:marketing`; this uploads `packages/marketing/public` to the `factorize-marketing` project.

Run the app Worker locally with `npm run dev`. To preview the marketing package's Worker fallback locally, use `npm run dev:marketing`.

Expand Down
2 changes: 0 additions & 2 deletions packages/marketing/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"$schema": "../../node_modules/wrangler/config-schema.json",
"name": "factorize-marketing",
"main": "src/index.ts",
"pages_build_output_dir": "./public",
"compatibility_date": "2026-09-10",
"assets": { "directory": "./public", "binding": "ASSETS" },
"vars": { "APP_ORIGIN": "https://app.factorize.sh" }
}