mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
Bring back Windows desktop artifacts in release workflows and remove the paid landing flow so Windows users can download public installers again. Co-authored-by: src-opn <src-opn@users.noreply.github.com>
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
# OpenWork Landing (Next.js)
|
|
|
|
## Local dev
|
|
|
|
1. Install deps from repo root:
|
|
`pnpm install`
|
|
2. Run the app:
|
|
`pnpm --filter @openwork-ee/landing dev`
|
|
|
|
### Optional env vars
|
|
|
|
- `NEXT_PUBLIC_CAL_URL` - enterprise booking link
|
|
- `NEXT_PUBLIC_DEN_CHECKOUT_URL` - Polar checkout URL for the Den preorder CTA
|
|
- `LOOPS_API_KEY` - Loops API key for feedback/contact submissions
|
|
- `LOOPS_TRANSACTIONAL_ID_APP_FEEDBACK` - Loops transactional template ID for app feedback emails
|
|
- `LOOPS_INTERNAL_FEEDBACK_EMAIL` - optional override for the internal feedback recipient (defaults to `team@openworklabs.com`)
|
|
- `LANDING_FORM_ALLOWED_ORIGINS` - optional comma-separated origin allowlist for feedback/contact form posts
|
|
|
|
## Deploy (recommended)
|
|
|
|
This app is ready for Vercel or any Node-compatible Next.js host.
|
|
|
|
### Vercel
|
|
|
|
1. Create a new Vercel project rooted at `ee/apps/landing`.
|
|
2. Build command: `pnpm --filter @openwork-ee/landing build`
|
|
3. Output: `.next`
|
|
4. Start command: `pnpm --filter @openwork-ee/landing start`
|
|
5. Enable Vercel BotID for the project so protected form routes can reject automated submissions.
|
|
|
|
### Self-hosted
|
|
|
|
1. Build: `pnpm --filter @openwork-ee/landing build`
|
|
2. Start: `pnpm --filter @openwork-ee/landing start`
|