Skip to content

Commit

Permalink
Add some notes on the development webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Nov 12, 2017
1 parent bb8c217 commit 7994088
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,12 @@ $ xp -supervise web Service
# ...
```

Supports a development webserver which is slower but allows an easy edit/save/reload development process. It uses the [PHP development server](http://php.net/features.commandline.webserver) in the background; PHP code is recompiled and application setup performed from scratch on every request.

```bash
$ xp -supervise web -m develop Service
@xp.web.Develop(HTTP @ `php -S localhost:8080 -t /home/example/devel/shorturl`)
# ...
```

Now open the website at http://localhost:8080/hello

0 comments on commit 7994088

Please sign in to comment.