Skip to content

Commit 7d25307

Browse files
authored
Update running-the-application.md
1 parent dc82ff3 commit 7d25307

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# Running the application
22

3-
We recommend running your applications in WSL:
3+
We recommend running the application on **AlmaLinux 10**, using **WSL 2**:
44

5-
- make sure you have [WSL](https://github.com/dotkernel/development/blob/main/wsl/README.md) installed on your system
6-
- currently we provide a distro implementations for [AlmaLinux9](https://github.com/dotkernel/development/blob/main/wsl/os/almalinux9/README.md)
5+
- if you don't already have:
6+
- install [WSL 2](https://docs.dotkernel.org/development/v2/setup/system-requirements/)
7+
- install [AlmaLinux 10](https://docs.dotkernel.org/development/v2/setup/installation/)
78
- install the application in a virtualhost as recommended by the chosen distro
89
- set `$baseUrl` in **config/autoload/local.php** to the address of the virtualhost
9-
- set the permissions for the data folder
10+
- set the permissions for the `data` folder
1011

1112
```shell
12-
chmod -R 777 data
13+
chmod -R 777 ./data
1314
```
1415

1516
- set the permissions for the log folder
1617

1718
```shell
18-
chmod -R 777 log
19+
chmod -R 777 ./log
1920
```
2021

2122
- run the application by opening the virtualhost address in your browser
@@ -25,7 +26,7 @@ You should see the `Dotkernel Light` welcome page.
2526
> If you are getting exceptions or errors regarding some missing services, try running the following command:
2627
2728
```shell
28-
sudo php bin/clear-config-cache.php
29+
sudo php ./bin/clear-config-cache.php
2930
```
3031

3132
> 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`

0 commit comments

Comments
 (0)