Skip to content

Commit 7bd33ee

Browse files
committed
refactor: use export instead of source in binary guide
1 parent c8235e1 commit 7bd33ee

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/guides/using-the-binary.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ A full list of environment variables and CLI flags is available in the [Configur
2929
After you are done with configuration you can start tinyauth. If you are using an environment variables you need to set them in your shell, this can be done by running:
3030

3131
```shellscript
32-
source tinyauth.env
32+
export $(grep -v '^#' .env | xargs -d '\n')
3333
```
3434

35+
::: tip
36+
If you like, you can unset the environment variables (perhaps for security reasons) with `unset $(grep -v '^#' .env | sed -E 's/(.*)=.*/\1/' | xargs)`.
37+
:::
38+
3539
Finally you can start up the tinyauth server with:
3640

3741
```shellscript

0 commit comments

Comments
 (0)