-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Walid Lezzar
committed
Mar 12, 2020
1 parent
97d1ed2
commit ffbaa32
Showing
5 changed files
with
107 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Config initialization | ||
|
||
## From scratch | ||
|
||
The simplest way to initialize zoe configuration from scratch is to use the zoe CLI: | ||
|
||
```bash tab="command" | ||
zoe config init | ||
``` | ||
|
||
This will create a `default.yml` file in `~/.zoe/config` by default. | ||
|
||
## From an existing local directory | ||
|
||
If you already have locally a directory that contains ready to use configuration files you can use: | ||
|
||
```bash tab="command" | ||
zoe config init --from local --path /path/to/config | ||
``` | ||
|
||
This will copy the yaml files from the target directory to `~/.zoe/config`. | ||
|
||
## From a git repository | ||
|
||
You can also copy the configuration from an existing git repository. For example, to copy the zoe config used in the tutorials in the official repository: | ||
|
||
```bash tab="command" | ||
zoe config init --from git --url 'https://github.com/adevinta/zoe.git' --dir tutorials/simple/config | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters