diff --git a/.gitignore b/.gitignore index 631061a..ddf7c30 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ composer.lock docs/html documentation-theme vendor +wsl/config.yml diff --git a/docs/book/v1/setup/setup-packages.md b/docs/book/v1/setup/setup-packages.md index 056125f..8ff6df7 100644 --- a/docs/book/v1/setup/setup-packages.md +++ b/docs/book/v1/setup/setup-packages.md @@ -30,7 +30,9 @@ Move inside the directory `development/wsl`: cd ~/development/wsl/ ``` -Using your preferred text editor, open `config.yml` where you must fill in the empty fields. +Duplicate `config.yml.dist` as `config.yml`. + +Using your preferred text editor, open `config.yml` and fill in the empty fields. Save and close the file. diff --git a/docs/book/v1/virtualhosts/create-virtualhost.md b/docs/book/v1/virtualhosts/create-virtualhost.md index 5fd2bdc..f93f49b 100644 --- a/docs/book/v1/virtualhosts/create-virtualhost.md +++ b/docs/book/v1/virtualhosts/create-virtualhost.md @@ -6,6 +6,8 @@ Move inside the directory `development/wsl`: cd ~/development/wsl/ ``` +If you don't already have a `config.yml` file, duplicate `config.yml.dist` as `config.yml`. + Using your preferred text editor, open `config.yml` and, under the `virtualhosts` key, enter the virtualhosts that you want to create, each on its own line. Already existing virtualhosts will be skipped, their contents will not be lost, no need to comment or remove them. diff --git a/wsl/config.yml b/wsl/config.yml.dist similarity index 100% rename from wsl/config.yml rename to wsl/config.yml.dist diff --git a/wsl/os/almalinux9/README.md b/wsl/os/almalinux9/README.md index 6474e4b..0e2a359 100644 --- a/wsl/os/almalinux9/README.md +++ b/wsl/os/almalinux9/README.md @@ -107,7 +107,9 @@ Move inside the directory `development/wsl`: cd ~/development/wsl/ ``` -Using your preferred text editor, open `config.yml` where you must fill in the empty fields. +Duplicate `config.yml.dist` as `config.yml`. + +Using your preferred text editor, open `config.yml` and fill in the empty fields. Save and close the file.