README: Add ENV_FILE option
Signed-off-by: Luis Garcia <git@luigi311.com>
This commit is contained in:
@@ -50,7 +50,7 @@ Full list of configuration options can be found in the [.env.sample](.env.sample
|
|||||||
|
|
||||||
- [Install uv](https://docs.astral.sh/uv/getting-started/installation/)
|
- [Install uv](https://docs.astral.sh/uv/getting-started/installation/)
|
||||||
|
|
||||||
- Create a .env file similar to .env.sample; fill in baseurls and tokens, **remember to uncomment anything you wish to use** (e.g., user mapping, library mapping, black/whitelist, etc.)
|
- Create a .env file similar to .env.sample; fill in baseurls and tokens, **remember to uncomment anything you wish to use** (e.g., user mapping, library mapping, black/whitelist, etc.). If you want to store your .env file anywhere else or under a different name you can use ENV_FILE variable to specify the location.
|
||||||
|
|
||||||
- Run
|
- Run
|
||||||
|
|
||||||
@@ -58,6 +58,10 @@ Full list of configuration options can be found in the [.env.sample](.env.sample
|
|||||||
uv run main.py
|
uv run main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ENV_FILE="Test.env" uv run main.py
|
||||||
|
```
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
- Build docker image
|
- Build docker image
|
||||||
|
|||||||
Reference in New Issue
Block a user