Skip to content

Commit

Permalink
clarify README for internal devs
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamu committed Mar 28, 2024
1 parent ed686d3 commit d346c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SINDRI_API_KEY=your_api_key SINDRI_BASE_URL=https://sindri.app pytest
```

#### Prefixing ENVs for Sindri internal developers
If you are running the Sindri api locally at `~/forge` with `~/forge/API_KEY` file populated with a valid api key, you can invoke the `pytest` unit tests to hit your local Sindri API instance with:
If you are running the Sindri api locally at `~/myproject` with `~/myproject/API_KEY` file populated with a valid api key, you can invoke the `pytest` unit tests to hit your local Sindri API instance with:
```bash
SINDRI_BASE_URL=http://localhost SINDRI_API_KEY=$(cat ~/forge/API_KEY) pytest
SINDRI_BASE_URL=http://localhost SINDRI_API_KEY=$(cat ~/myproject/API_KEY) pytest
```

0 comments on commit d346c19

Please sign in to comment.