| Línea 27... |
Línea 27... |
| 27 |
$ composer run --timeout 0 serve
|
27 |
$ composer run --timeout 0 serve
|
| 28 |
```
|
28 |
```
|
| Línea 29... |
Línea 29... |
| 29 |
|
29 |
|
| 30 |
This will start the cli-server on port 8080, and bind it to all network
|
30 |
This will start the cli-server on port 8080, and bind it to all network
|
| - |
|
31 |
interfaces. You can then visit the site at http://localhost:8080/
|
| 31 |
interfaces. You can then visit the site at http://localhost:8080/
|
32 |
|
| Línea 32... |
Línea 33... |
| 32 |
- which will bring up Zend Framework welcome page.
|
33 |
- which will bring up Zend Framework welcome page.
|
| Línea 33... |
Línea 34... |
| 33 |
|
34 |
|
| Línea 34... |
Línea 35... |
| 34 |
**Note:** The built-in CLI server is *for development only*.
|
35 |
**Note:** The built-in CLI server is _for development only_.
|
| 35 |
|
36 |
|
| Línea 48... |
Línea 49... |
| 48 |
`config/development.config.php.dist`, and development-only application
|
49 |
`config/development.config.php.dist`, and development-only application
|
| 49 |
configuration in `config/autoload/development.local.php.dist`. Enabling
|
50 |
configuration in `config/autoload/development.local.php.dist`. Enabling
|
| 50 |
development mode will copy these files to versions removing the `.dist` suffix,
|
51 |
development mode will copy these files to versions removing the `.dist` suffix,
|
| 51 |
while disabling development mode will remove those copies.
|
52 |
while disabling development mode will remove those copies.
|
| Línea 52... |
Línea 53... |
| 52 |
|
53 |
|
| 53 |
Development mode is automatically enabled as part of the skeleton installation process.
|
54 |
Development mode is automatically enabled as part of the skeleton installation process.
|
| 54 |
After making changes to one of the above-mentioned `.dist` configuration files you will
|
55 |
After making changes to one of the above-mentioned `.dist` configuration files you will
|
| 55 |
either need to disable then enable development mode for the changes to take effect,
|
56 |
either need to disable then enable development mode for the changes to take effect,
|
| Línea 56... |
Línea 57... |
| 56 |
or manually make matching updates to the `.dist`-less copies of those files.
|
57 |
or manually make matching updates to the `.dist`-less copies of those files.
|
| Línea 166... |
Línea 167... |
| 166 |
# ...
|
167 |
# ...
|
| 167 |
include sites-enabled/*.conf;
|
168 |
include sites-enabled/*.conf;
|
| 168 |
}
|
169 |
}
|
| 169 |
```
|
170 |
```
|
| Línea 170... |
Línea -... |
| 170 |
|
- |
|
| 171 |
|
171 |
|
| 172 |
Create a virtual host configuration file for your project under `/path/to/nginx/sites-enabled/laminasapp.localhost.conf`
|
172 |
Create a virtual host configuration file for your project under `/path/to/nginx/sites-enabled/laminasapp.localhost.conf`
|
| Línea 173... |
Línea 173... |
| 173 |
it should look something like below:
|
173 |
it should look something like below:
|
| 174 |
|
174 |
|