Explain how vdn-php work
This commit is contained in:
13
README.md
13
README.md
@@ -35,6 +35,19 @@ Run the pipeline named `default`:
|
|||||||
vdn-drone exec --pipeline default
|
vdn-drone exec --pipeline default
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## `vdn-php`
|
||||||
|
|
||||||
|
Run PHP 8.2 in your current host directory. It forwards the server port and mounts the files in the VDN guest system.
|
||||||
|
|
||||||
|
Run the PHP integrated server:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
vdn-php -S 0.0.0.0:8000
|
||||||
|
#vdn-php -S localhost:8000 # This will not work, the server needs to listen on all adresses!
|
||||||
|
```
|
||||||
|
|
||||||
|
On your host system, use your favorite browser and check your website at `http://localhost:8000`.
|
||||||
|
|
||||||
## `vdn-rsync`
|
## `vdn-rsync`
|
||||||
|
|
||||||
Copy files between the host and the guest system using *rsync*.
|
Copy files between the host and the guest system using *rsync*.
|
||||||
|
Reference in New Issue
Block a user