1.1 KiB
1.1 KiB
Clone and run https://git.komnenos.me/springfw/random-proxy in ./random-proxy.
Goal: get the app running once, with Replit AI Integrations wired, on port 3000.
Bearer token for this deployment: DEPLOYMENT_GENERATED_PROXY_TOKEN
Use that exact token as the proxy bearer token. Do not invent, rotate, print, store, or replace it.
Do not:
- add it to a parent workspace
- move it into artifacts/
- modify source files
- edit package.json
- create config.json or /tmp config files
- inspect/free unrelated ports
- use nohup/setsid/background shell tricks
- run chat-completion smoke tests unless asked
Steps:
-
Clone into ./random-proxy.
-
Provision/use Replit AI Integrations for:
- OpenAI
- Anthropic
- Start the app with this command:
cd random-proxy && pnpm dev -- --proxy-api-key DEPLOYMENT_GENERATED_PROXY_TOKEN
- Wait briefly, then verify:
curl -s http://localhost:3000/api/healthz curl -s http://localhost:3000/dashboard | head curl -s -H "Authorization: Bearer DEPLOYMENT_GENERATED_PROXY_TOKEN" http://localhost:3000/v1/models
Report only:
- local URL
- whether OpenAI and Anthropic AI Integrations were wired
- verification results