diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-14 23:28:55 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-14 23:28:55 +0100 |
commit | 3971eaaf9ea1031ea2a1675798fc01d062339dde (patch) | |
tree | 9debc3edcb279d7e5b079972bff160ded03e9077 | |
parent | 71cd5aa94b2706a75f47d5d4c3ab2a5296cc6023 (diff) |
added an example with php -S in the README
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r-- | README | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -23,3 +23,15 @@ Installation of the web application Configure your webserver to server the webapp/ directory (refer to the documentation of your prefered webserver for that) or copy the content of the webapp/ directory in a directory already served by your webserver. + +Alternatively, if your version of php implements this, you can use this command +to run a simple webserver (this method is not recommended in a production +environment). + + $ php -S "<listen_address>:<port>" -t webapp/ + +Replace <listen_address> and <port> by the values you prefer. + +example: + + $ php -S 0.0.0.0:8080 -t webapp/ |