From 360970f64783dacffeb0484d1be8ad173b1e8ded Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Sat, 7 May 2016 14:13:06 +0100 Subject: [PATCH] Add README for example. Based on work by https://github.com/thinkerou. Closes #1854 --- example/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 example/README.md diff --git a/example/README.md b/example/README.md new file mode 100644 index 000000000..e4fb35982 --- /dev/null +++ b/example/README.md @@ -0,0 +1,19 @@ +# Slim example + +1. Install composer + + ```text + $ cd Slim + $ composer install + ``` + +2. Run php server + + ```text + $ cd Slim + $ php -S localhost:8888 -t example example/index.php + ``` + +3. Open browser + + Open http://localhost:8888 in your browser and you will see 'Welcome to Slim!'