You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will be prompted with the below message to choose whether you want to inject ConfigProviders:
49
+
50
+
```shell
51
+
Please selectwhich config file you wish to inject 'Laminas\Validator\ConfigProvider' into:
52
+
[0] Do not inject
53
+
[1] config/config.php
54
+
Make your selection (default is 1):
55
+
```
56
+
57
+
Type `0` to select**[0] Do not inject** and hit `Enter`.
58
+
59
+
We choose not to inject any ConfigProvider because Dotkernel Admin comes with all the required ConfigProviders already injected in`config/config.php`.
60
+
Choosing to inject any extra ConfigProvider would cause having duplicates which are not allowed and would crash the application.
61
+
48
62
### Development mode
49
63
50
64
>**Do not enable development mode in production!**
@@ -69,8 +83,6 @@ composer development-status
69
83
70
84
### Prepare config files
71
85
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`
74
86
* **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
75
87
76
88
### Setup database
@@ -185,6 +197,14 @@ npm run prod
185
197
186
198
### Test the installation
187
199
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`, `public/uploads` and `log` folders:
201
+
202
+
```shell
203
+
chmod -R 777 data
204
+
chmod -R 777 public/uploads
205
+
chmod -R 777 log
206
+
```
207
+
188
208
Run the following command in your project's directory to start PHPs built-in server:
0 commit comments