Align setup with simple repo name
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "random-proxy",
|
"name": "random-proxy-simple",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Clone and run https://git.komnenos.me/springfw/random-proxy in ./random-proxy.
|
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.
|
Goal: get the app running once, with Replit AI Integrations wired, on port 3000.
|
||||||
|
|
||||||
@@ -14,11 +14,12 @@ Do not:
|
|||||||
- create config.json or /tmp config files
|
- create config.json or /tmp config files
|
||||||
- inspect/free unrelated ports
|
- inspect/free unrelated ports
|
||||||
- use nohup/setsid/background shell tricks
|
- use nohup/setsid/background shell tricks
|
||||||
|
- run verification commands
|
||||||
- run chat-completion smoke tests unless asked
|
- run chat-completion smoke tests unless asked
|
||||||
|
|
||||||
Steps:
|
Steps:
|
||||||
|
|
||||||
1. Clone into ./random-proxy.
|
1. Clone into ./random-proxy-simple.
|
||||||
|
|
||||||
2. Provision/use Replit AI Integrations for:
|
2. Provision/use Replit AI Integrations for:
|
||||||
- OpenAI
|
- OpenAI
|
||||||
@@ -26,15 +27,11 @@ Steps:
|
|||||||
|
|
||||||
3. Start the app with this command:
|
3. Start the app with this command:
|
||||||
|
|
||||||
cd random-proxy && pnpm dev -- --proxy-api-key DEPLOYMENT_GENERATED_PROXY_TOKEN
|
cd random-proxy-simple && pnpm dev -- --proxy-api-key DEPLOYMENT_GENERATED_PROXY_TOKEN
|
||||||
|
|
||||||
4. Wait briefly, then verify:
|
4. Do not run health, dashboard, model-list, or chat-completion verification commands.
|
||||||
|
|
||||||
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:
|
Report only:
|
||||||
- local URL
|
- local URL
|
||||||
- whether OpenAI and Anthropic AI Integrations were wired
|
- whether OpenAI and Anthropic AI Integrations were wired
|
||||||
- verification results
|
- that no verification commands were run
|
||||||
|
|||||||
Reference in New Issue
Block a user