44 lines
1.3 KiB
Markdown
44 lines
1.3 KiB
Markdown
Clone and run https://git.komnenos.me/springfw/random-proxy-simple in ./random-proxy-simple.
|
|
|
|
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 in the run command. Do not invent, rotate, print,
|
|
or replace it. Do not ask for another token.
|
|
|
|
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 a foreground server command directly in the shell
|
|
- set secrets or environment variables for the proxy token
|
|
- run verification commands
|
|
- run chat-completion smoke tests unless asked
|
|
|
|
Steps:
|
|
|
|
1. Clone into ./random-proxy-simple.
|
|
|
|
2. Provision/use Replit AI Integrations for:
|
|
- OpenAI
|
|
- Anthropic
|
|
|
|
3. Create or update one persistent Replit workflow named "Random Proxy Simple" with this exact
|
|
run command:
|
|
|
|
cd random-proxy-simple && pnpm dev -- --proxy-api-key DEPLOYMENT_GENERATED_PROXY_TOKEN
|
|
|
|
4. Start/restart that workflow once.
|
|
|
|
5. Do not run health, dashboard, model-list, or chat-completion verification commands.
|
|
|
|
Report only:
|
|
- local URL
|
|
- whether OpenAI and Anthropic AI Integrations were wired
|
|
- that no verification commands were run
|