1.2 KiB
1.2 KiB
Deploy EdgeEver online from a Fork
First installation
-
In Cloudflare Workers & Pages, import the Fork.
-
Use the repository root and
mainbranch. Keep the repository'swrangler.toml. -
Configure:
- D1 binding:
DB, database name:edgeever - R2 binding:
RESOURCES, with a unique bucket name - Worker Secret:
EDGE_EVER_AUTH_PASSWORD
- D1 binding:
-
Set the build commands:
Build command: bun install --frozen-lockfile && EDGE_EVER_DEPLOYMENT_TRIGGER=main_push EDGE_EVER_DEPLOYMENT_METHOD=cloudflare_workers_builds bun run build:cloudflare Deploy command: bun run deploy:cloudflare-builds -
Start the build. Confirm that
/api/healthreturns200with"ok": true, then test login. -
In the Fork's Actions, enable and run Update deployed EdgeEver once.
Update channel
The default follows formal Releases. To follow upstream main, create:
EDGE_EVER_UPDATE_CHANNEL=edge
Troubleshooting
- Build failure: inspect the Worker Deployments log.
- No updates: open the Fork's Actions, enable Update deployed EdgeEver, and run it manually.
- Recovery: Cloudflare Manual Deployment.