- Node.js >= 16.x
- pnpm >= 8.x
run pnpm install
-
Set the env variable PROXY_API_KEY
PROXY_API_KEY is the API key that you obtained after purchasing the API package or membership plan.
To set the PROXY_API_KEY, you can use the command line.
For Linux and macOS
export PROXY_API_KEY=xxx
For Windows
set PROXY_API_KEY=xxx
Alternatively, you can use a .env file to set the PROXY_API_KEY variable. Here's how:
-
run
cp ./projects/server/.env.template ./projects/server/.env
-
Fill in PROXY_HOST in the .env file.
-
run pnpm start