Docker setup
-
Copy
.env.dist
to.env
file. Configure your local settings in.env
file:cp .env.dist .env
-
Build containers:
docker-compose build
-
Start containers:
docker-compose up -d
Installation
-
Generate the SSH keys:
mkdir -p config/jwt openssl genpkey -out config/jwt/private.pem -aes256 -algorithm rsa -pkeyopt rsa_keygen_bits:4096 openssl pkey -in config/jwt/private.pem -out config/jwt/public.pem -pubout
-
Install composer packages:
composer install
-
Create database and run migrations:
bin/console doctrine:migrations:migrate
-
Create admin user
bin/console doctrine:fixtures:load