Skip to content

Commit c702fba

Browse files
committed
Issue #349: test readme.md to be updated
Signed-off-by: horea <horea@rospace.com>
1 parent adf4b66 commit c702fba

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ git clone https://github.com/dotkernel/admin.git .
4545
composer install
4646
```
4747

48+
You will get a prompt like this:
49+
```shell
50+
Please select which config file you wish to inject 'Laminas\Validator\ConfigProvider' into:
51+
[0] Do not inject
52+
[1] config/config.php
53+
Make your selection (default is 1):
54+
```
55+
56+
Type 0 to select **[0] Do not inject**.
57+
No other Config Providers need to be injected.
58+
59+
We choose 0 because Dotkernel includes its own ConfigProvider which already contains the prompted configurations.
60+
If you choose **[1] config/config.php**, an extra ConfigProvider will be injected.
61+
4862
### Development mode
4963
5064
> **Do not enable development mode in production!**
@@ -69,8 +83,6 @@ composer development-status
6983
7084
### Prepare config files
7185
72-
* duplicate `config/autoload/cors.local.php.dist` as `config/autoload/cors.local.php` <- if another application will send requests to this application, make sure configure the `allowed_origins`
73-
* duplicate `config/autoload/local.php.dist` as `config/autoload/local.php`
7486
* **optional**: in order to run/create tests, duplicate `config/autoload/local.test.php.dist` as `config/autoload/local.test.php` <- this creates a new in-memory database that your tests will run on
7587
7688
### Setup database
@@ -185,6 +197,14 @@ npm run prod
185197
186198
### Test the installation
187199
200+
If you are using virtual hosts as described in the [Dotkernel documentation] (https://docs.dotkernel.org/development/) you need you modify the permissions of the **data** and **log** folders:
201+
202+
```shell
203+
chmod 777 data/
204+
chmod 777 log/
205+
chmod 777 data/cache/
206+
```
207+
188208
Run the following command in your project's directory to start PHPs built-in server:
189209
190210
```shell

0 commit comments

Comments
 (0)