diff --git a/docs/book/v1/installation/running-the-application.md b/docs/book/v1/installation/running-the-application.md index 02dd23f..ab3c4f9 100644 --- a/docs/book/v1/installation/running-the-application.md +++ b/docs/book/v1/installation/running-the-application.md @@ -1,21 +1,22 @@ # Running the application -We recommend running your applications in WSL: +We recommend running the application on **AlmaLinux 10**, using **WSL 2**: -- make sure you have [WSL](https://github.com/dotkernel/development/blob/main/wsl/README.md) installed on your system -- currently we provide a distro implementations for [AlmaLinux9](https://github.com/dotkernel/development/blob/main/wsl/os/almalinux9/README.md) +- if you don't already have: + - install [WSL 2](https://docs.dotkernel.org/development/v2/setup/system-requirements/) + - install [AlmaLinux 10](https://docs.dotkernel.org/development/v2/setup/installation/) - install the application in a virtualhost as recommended by the chosen distro - set `$baseUrl` in **config/autoload/local.php** to the address of the virtualhost -- set the permissions for the data folder +- set the permissions for the `data` folder ```shell -chmod -R 777 data +chmod -R 777 ./data ``` - set the permissions for the log folder ```shell -chmod -R 777 log +chmod -R 777 ./log ``` - run the application by opening the virtualhost address in your browser @@ -25,7 +26,7 @@ You should see the `Dotkernel Light` welcome page. > If you are getting exceptions or errors regarding some missing services, try running the following command: ```shell -sudo php bin/clear-config-cache.php +sudo php ./bin/clear-config-cache.php ``` > If `data/cache/config-cache.php` is present, that config will be loaded regardless of the `ConfigAggregator::ENABLE_CACHE` configuration in `config/autoload/mezzio.global.php`