From 3971eaaf9ea1031ea2a1675798fc01d062339dde Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 14 Jun 2015 23:28:55 +0100 Subject: added an example with php -S in the README Signed-off-by: Olivier Gayot --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README') diff --git a/README b/README index ccf57d6..ca69bec 100644 --- a/README +++ b/README @@ -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 ":" -t webapp/ + +Replace and by the values you prefer. + +example: + + $ php -S 0.0.0.0:8080 -t webapp/ -- cgit v1.2.3