Skip to content

Commit 5f56f09

Browse files
committed
update README instructions for running locally
1 parent b21678b commit 5f56f09

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/webapp/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Note that to generate GCP URLS you'll need a service account key (doesn't work l
2020

2121
Enter into the root directory of the repo.
2222

23-
24-
1. Copy the `.env.example` file to `.env`
25-
1. Run `export ENV_FILE_PATH='/full/path/to/.env'`
23+
1. Copy the `./src/webapp/.env.example` file to `./src/webapp/.env`
2624
1. `python3 -m venv .venv`
2725
1. `source .venv/bin/activate`
2826
1. `pip install uv`
@@ -39,7 +37,7 @@ For all of the following, be in the repo root folder (`sst-app-api/`).
3937

4038
Spin up the app locally:
4139

42-
1. `fastapi dev src/webapp/main.py`
40+
1. `ENV_FILE_PATH='/full/path/to/.env' fastapi dev src/webapp/main.py`
4341
1. Go to `http://127.0.0.1:8000/docs`
4442
1. Hit the `Authorize` button on the top right and enter the tester credentials:
4543

src/worker/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ You will also need to add the permission Storage Writer or Storage Admin to your
1414
Enter into the root directory of the repo.
1515

1616

17-
1. Copy the `.env.example` file to `.env`
18-
1. Run `export ENV_FILE_PATH='/full/path/to/.env'`
17+
1. Copy the `./src/worker/.env.example` file to `./src/worker/.env`
1918
1. `python3 -m venv .venv`
2019
1. `source .venv/bin/activate`
2120
1. `pip install uv`
@@ -26,7 +25,7 @@ For all of the following, be in the repo root folder (`sst-app-api/`).
2625

2726
Spin up the app locally:
2827

29-
1. `fastapi dev src/webapp/main.py`
28+
1. `ENV_FILE_PATH='/full/path/to/.env' fastapi dev src/webapp/main.py`
3029
1. Go to `http://127.0.0.1:8000/docs`
3130
1. Hit the `Authorize` button on the top right and enter the tester credentials:
3231

0 commit comments

Comments
 (0)