Set env variables in the wrangler.toml
file.
EDGEDB_INSTANCE=
EDGEDB_SECRET_KEY=
EDGEDB_INSTANCE
is your EdgeDB Cloud instance name, while the EDGEDB_SECRET_KEY
is the secret key you can generate from the EdgeDB Cloud dashboard.
Install dependencies:
pnpm i # npm i # yarn
Start Worker locally:
npx wrnagler dev
npx wrnagler deploy