From 6765be10a329c5e0cb078bd15fed1cd4a5ea24ac Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Tue, 3 Jun 2025 08:47:49 +0300 Subject: [PATCH] Issue #56: Avoid conflicts by removing wsl/config.yml Signed-off-by: alexmerlin --- .gitignore | 1 + docs/book/v1/setup/setup-packages.md | 4 +++- docs/book/v1/virtualhosts/create-virtualhost.md | 2 ++ wsl/{config.yml => config.yml.dist} | 0 wsl/os/almalinux9/README.md | 4 +++- 5 files changed, 9 insertions(+), 2 deletions(-) rename wsl/{config.yml => config.yml.dist} (100%) 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.