mirror of
https://codeberg.org/vegvisir/install.git
synced 2025-09-13 16:23:42 +02:00
doc(feat): add --install
and --dir
references to README (#7)
Reviewed-on: https://codeberg.org/vegvisir/install/pulls/7 Co-authored-by: vlw <victor@vlw.se> Co-committed-by: vlw <victor@vlw.se>
This commit is contained in:
parent
16c1a2df10
commit
8859a741d3
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -15,13 +15,19 @@ curl -fsSL https://codeberg.org/vegvisir/install/raw/branch/master/install.sh |
|
|||
# Arguments
|
||||
You can pass optional named arguments to this script for headless installation of Vegvisir.
|
||||
|
||||
## `--install` - Installation directory
|
||||
## `--install` - Don't install, only configure Vegvisir
|
||||
```sh
|
||||
./install.sh --install="/path/to/project"
|
||||
./install.sh --install=n
|
||||
```
|
||||
Pass an `--install` argument with a value of a directory Vegvisir should consider its [`root_path`](https://vegvisir.vlw.se/docs/Reference/Env#root_path).
|
||||
Pass `--install=n` to prevent download and installation of the Vegvisir git submodule. Use this option if you're version controlling Vegvisir from your project repository.
|
||||
|
||||
## `--override` - Overwrite configuration files
|
||||
## `--dir` - Installation directory
|
||||
```sh
|
||||
./install.sh --dir="/path/to/project"
|
||||
```
|
||||
Pass a `--dir` argument with a value of a directory Vegvisir should consider its [`root_path`](https://vegvisir.vlw.se/docs/Reference/Env#root_path).
|
||||
|
||||
## `--overwrite` - Overwrite configuration files
|
||||
```sh
|
||||
./install.sh --overwrite=y
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue