Use fast build for Replit deployment
This commit is contained in:
@@ -21,7 +21,7 @@ pnpm install --ignore-workspace
|
||||
For publishing from a workspace that clones this repo into `./random-proxy-simple`, configure the
|
||||
workspace root `.replit` `[deployment]` block to build and run `random-proxy-simple` directly.
|
||||
Keep `PORT`, `PROXY_API_KEY`, and `NODE_ENV` in the production `run` command. Do not use artifact
|
||||
production deployment for this proxy.
|
||||
production deployment for this proxy. Use `pnpm build:fast` for Replit publish builds.
|
||||
|
||||
## Install
|
||||
|
||||
@@ -70,8 +70,8 @@ These can be overridden with CLI flags or environment variables:
|
||||
- `--port` or `PORT`
|
||||
- `--proxy-api-key` or `PROXY_API_KEY`
|
||||
|
||||
For mass deployments, put the generated token and Replit AI Integration variables directly in the
|
||||
Replit workflow run command with `--proxy-api-key`, `--openai-*`, and `--anthropic-*` flags.
|
||||
For mass deployments, pass the generated proxy token through `PROXY_API_KEY`. Replit AI
|
||||
Integration provider values are read from the `AI_INTEGRATIONS_*` environment variables.
|
||||
|
||||
## Verify
|
||||
|
||||
|
||||
Reference in New Issue
Block a user