mirror of
https://git.numenor-labs.us/dsfx.git
synced 2025-04-29 08:10:34 +00:00
docs(administration): use flags instead of env vars
This commit is contained in:
parent
19e9674f40
commit
bae3a0289f
@ -25,13 +25,13 @@ go install koti.casa/numenor-labs/dsfx/cmd/dsfxctl@latest
|
||||
|
||||
The first time you run the `dsfxctl` command, it will create a configuration directory to store
|
||||
the necessary files for the tool to function properly. By default, this directory is located in the
|
||||
`/etc/dsfxctl`, but this can be overridden by setting the `DSFXCTL_CONFIG_DIR` environment variable
|
||||
to a different path. We recommend configuring a path in your home directory so that the command
|
||||
can be run without root privileges. For example, you can set the environment variable to point
|
||||
to a directory in your home directory, such as `~/.config/dsfxctl`.
|
||||
`/etc/dsfxctl`, but this can be overridden by setting the **-configDir** cli flag to a different path.
|
||||
We recommend configuring a path in your home directory so that the command can be run without root
|
||||
privileges. For example, you can set the flag to point to a directory in your home
|
||||
directory, such as `~/.config/dsfxctl`.
|
||||
|
||||
```bash
|
||||
export DSFXCTL_CONFIG_DIR=~/.config/dsfxctl
|
||||
go run koti.casa/numenor-labs/dsfx/cmd/dsfxctl@main -configDir ~/.config/dsfxctl
|
||||
```
|
||||
|
||||
### Identity
|
||||
|
Loading…
x
Reference in New Issue
Block a user