@@ -6,25 +6,28 @@ Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introdu
66
77## Dev Setup
88
9- NB: This will start the dev server against the cloud-hosted backend. If you need to change both the frontend and the backend, you'll
10- need to start a local copy of the backend (workspaces-tasking-manager) and set the environment vars appropriately below.
11-
12- The below values are for cloud-hosted dev:
13-
149```
10+ # set these e.g. to the dev TDEI instance--note: any tokens you get from these hosts must match the environment for other components
11+ # e.g. you can't use dev TDEI KeyCloak JWT tokens in stage or production environments.
1512export VITE_TDEI_API_URL=https://api-dev.tdei.us/api/v1/
1613export VITE_TDEI_USER_API_URL=https://portal-api-dev.tdei.us/api/v1/
17- export VITE_API_URL=https://api.workspaces-dev.sidewalks.washington.edu/api/v1/
18- export VITE_OSM_URL=https://osm.workspaces-dev.sidewalks.washington.edu/
14+
15+ # use your local workspaces-backend instance--or set to the dev instance of this component if not running locally
16+ export VITE_API_URL=http://localhost:3000/api/v1/
17+ export VITE_OSM_URL=http://localhost:3000/
18+
19+ # probably want to leave these as-is
1920export VITE_RAPID_URL=https://rapid.workspaces-dev.sidewalks.washington.edu/
2021export VITE_PATHWAYS_EDITOR_URL=https://pathways.workspaces-dev.sidewalks.washington.edu/
22+
23+ # probably don't need to change any of these
2124export CODE_VERSION="local"
22- export VITE_IMAGERY_SCHEMA=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools/main/docs/imagery-layer /schema.json
23- export VITE_IMAGERY_EXAMPLE_URL=https://raw.githubusercontent. com/TaskarCenterAtUW/tdei-tools/ main/docs/imagery-layer /example.json
24- export VITE_LONG_FORM_QUEST_SCHEMA=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools /refs/heads/main/docs/quest-definition /schema.json
25- export VITE_LONG_FORM_QUEST_EXAMPLE_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/tdei-tools /refs/heads/main/docs/quest-definition/example.json
25+ export VITE_IMAGERY_SCHEMA=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-imagery-list/refs/heads/main/schema /schema.json
26+ export VITE_IMAGERY_EXAMPLE_URL=https://github. com/TaskarCenterAtUW/asr-imagery-list/blob/ main/examples /example.json
27+ export VITE_LONG_FORM_QUEST_SCHEMA=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-quests /refs/heads/main/schema /schema.json
28+ export VITE_LONG_FORM_QUEST_EXAMPLE_URL=https://raw.githubusercontent.com/TaskarCenterAtUW/asr-quests /refs/heads/main/docs/quest-definition/example.json
2629
27- # install deps
30+ # install deps (first time only)
2831npm install
2932
3033# start dev server
0 commit comments