RUN app locally
- Go to app home directory and run:
cp .env.dist .env
-
Add configuration for db and app secret
-
Go to app home directory and run:
docker-compose up -d
- Install composer dependencies:
docker-compose exec php sh -c 'composer instal'
- run migration:
docker-compose exec php sh -c 'php bin/console do:mi:mi'
- Generate keys for jwt if first it first run
docker-compose exec php sh -c '
set -e
apt-get install openssl
php bin/console lexik:jwt:generate-keypair
'
- In browser go to http://localhost/api/docs