From 48a6c06ebb718c6611ad7d242f7acd1a34b3a9b1 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Fri, 29 Jul 2016 18:39:24 +0300 Subject: [PATCH] update readme: better overview --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 07aa5da..d9388dd 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,20 @@ LaraDock strives to make the development experience easier. It contains pre-packaged Docker Images that provides you a wonderful development environment without requiring you to install PHP, NGINX, MySQL, REDIS, and any other software on your local machine. -**Usage Overview:** Run `NGINX`, `MySQL` and `Redis`. +**Usage Overview:** + +Let's see how easy it is to install `NGINX`, `PHP`, `Composer`, `MySQL` and `Redis`. Then run `Laravel`. + +1. Get LaraDock inside your Laravel project: +
+`git clone https://github.com/LaraDock/laradock.git`. +2. Enter the laradock folder and run only these Containers: +
+`docker-compose up -d nginx mysql redis` +3. Open your `.env` file and set `DB_HOST` to `mysql` and `REDIS_HOST` to `redis`. +4. Open your browser and visit the localhost: `http://localdock` + -```shell -docker-compose up nginx mysql redis -``` ### Features