Install PHP, Composer and Docker.
composer install
Use the following command to start the development server:
docker-compose up
This will start the php service and the mysql service. Then open localhost:8080
in the browser.
When using docker-compose up
, the database is created automatically. It can then be connected in the IDE or
via MySQL Workbench.
Fill in the .env
file with the following values:
ONLINE=TRUE
ENVIRONMENT=DEV
MYSQL_SERVER=mysql-test-service:3306
MYSQL_DATABASE=db
MYSQL_USERNAME=user
MYSQL_PASSWORD=password
ADMIN_USERNAME=admin
ADMIN_PASSWORD=123
MAIL_USERNAME=foo
MAIL_ADDRESS=foo@bar.de
MAIL_PASSWORD=foobar123
MAIL_HOST=foo.bar.de
MAIL_PORT=587