mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
Stop the bootstrap scripts claiming the dev webapp targets the local backend
It never has: setDevelopment() is commented out in main.tsx, so the dev server falls through to its /v1 proxy at api.storyteller.ai. Both bootstrap epilogues and the seed script now say so and print the VITE_DEV_API_HOST needed to actually reach the local backend.
This commit is contained in:
1 parent
07e9a35044
commit
b9ee643bf6
3 files changed
+10
-7
No files matched your search
@@ -344,9 +344,9 @@ The dev stack is bootstrapped. Next steps:
|
||||
./script/bootstrap/seed_demo_user.sh
|
||||
Credentials: ${DEMO_USERNAME} / ${DEMO_PASSWORD}
|
||||
|
||||
3. Start the webapp (binds http://localhost:4201; in dev it talks to
|
||||
${DEV_BACKEND_URL} automatically):
|
||||
cd frontend && npx nx dev artcraft-webapp
|
||||
3. Start the webapp (binds http://localhost:4201). NB: by default the dev
|
||||
webapp proxies to PRODUCTION — aim it at your backend explicitly:
|
||||
cd frontend && VITE_DEV_API_HOST=${DEV_BACKEND_URL} npx nx dev artcraft-webapp
|
||||
|
||||
Health checks at any time:
|
||||
./script/bootstrap/dev_stack_doctor.sh
|
||||
|
||||
Reference in new issue
Block a user