use laradock to start your site
Steps
- ~$
git clone https://github.com/Laradock/laradock.git
- ~$
cd laradock
- laradock$
cp .env.example .env
- Add following lines to .env
DB_HOST=mysql REDIS_HOST=redis QUEUE_HOST=beanstalkd
- laradock$ Execute
docker-compose up -d nginx mysql phpmyadmin redis workspace
command to start services - laradock$ mkdir ../public
- laradock$ vi ../public/index.html ```
hello world
``` 1. open your browser and go to localhost
Change home directory
vi .env
APP_CODE_PATH_HOST=../project-z/