Follow the instructions to get the project running (starts in project root)
- copy
.env.example
as.env
and fill in your values cd docker
docker compose --env-file ../.env up
docker exec -it logio-product-cs-app bash
- (in container bash)
composer install
- Go to
localhost::8000
in browser, log in asroot
with password in line with.env
DB_PASSWORD
and create dabases in line with.env
SQL_DATABASE_NAME
andES_DATABASE_NAME
, respectively. - (in container bash)
php create_tables.php
- Go to
localhost::3000/index.php?product=PRODUCT_ID
, wherePRODUCT_ID
is integer between 1 and 4, in browser.
In case it doesn't work step by step, apologies, it's frankly my first time using Docker in a project and "It works on my machine(tm)". Please don't hesitate to ask on ondrej.hotovy@outlook.com
.