From 35efcc4a7c83f557435cd0a1480dfa123131e8e1 Mon Sep 17 00:00:00 2001 From: Viktor Matushevskyi Date: Sat, 13 May 2017 20:51:19 +0300 Subject: [PATCH] Update index.md --- DOCUMENTATION/content/guides/index.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/DOCUMENTATION/content/guides/index.md b/DOCUMENTATION/content/guides/index.md index 5cb6ddc..ffc0c3e 100644 --- a/DOCUMENTATION/content/guides/index.md +++ b/DOCUMENTATION/content/guides/index.md @@ -55,6 +55,10 @@ $root@server:~/laravel/ cd laradock $root@server:~/laravel/laradock# curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose $root@server:~/chmod +x /usr/local/bin/docker-compose ``` +## Enter the laradock folder and rename env-example to .env. +``` +$root@server:~/laravel/laradock# cp env-example .env +``` ## Create Your Laradock Containers @@ -138,8 +142,8 @@ And add `server_name` (your custom domain) ## Rebuild Your Nginx ``` -$root@server:~/laravel/laradock/nginx# docker-compose down -$root@server:~/laravel/laradock/nginx# docker-compose build nginx +$root@server:~/laravel/laradock# docker-compose down +$root@server:~/laravel/laradock# docker-compose build nginx ``` ## Re Run Your Containers MYSQL and NGINX