To be able to run this app follow instructions below.
First of all, install Docker Compose. Once it'll be done, double check if everything went smoothly:
$ docker-compose --version
# Start docker machine
$ docker-machine start
Make sure you're in root dir and then just copy & paste a following command:
$ docker-compose build
This will download all required docker images (Postgresql, Elasticsearch, Apache2 + php7), be patient, it might take some time.
# Run all containers
$ docker-compose up -d
# Make sure that all up and running
$ docker-compose ps
$ docker-compose exec apache composer install --no-dev -o
# Get IP address of your virt machine
$ docker-machine ip
In the root you'll find a file .env
replace an ip address to yours, in my case it was 192.168.99.100
.
Finally run Laravel's migration command, it'll create an appropriate table/index in Postgresql & Elasticsearch respectively.
$ docker-compose exec apache php artisan migrate
Open your browser by entering your virt machine ip address, like http://192.168.99.100
that it. I hope you like it ;-)