A tracker for extra work.
- Druta Mihai
- Staci Nicolae
- Stratan Ion
- Binzari Marin (mentor)
- Have docker with docker compose installed
docker-compose up -d- Generate SSH private key:
docker-compose exec php-fpm /usr/bin/openssl genrsa -out /application/config/jwt/private.pem -aes256 4096 - Generate SSH public key:
docker-compose exec php-fpm /usr/bin/openssl rsa -pubout -in /application/config/jwt/private.pem -out /application/config/jwt/public.pem - Copy
.envto.env.localand modify accordingly docker-compose exec php-fpm composer installdocker-compose exec php-fpm bin/console doctrine:migrations:migrate -ndocker-compose exec php-fpm bin/console doctrine:fixtures:load -n- Fix permissions:
docker-compose exec php-fpm /bin/chown -R www-data:www-data /application/config/jwt/private.pem /application/config/jwt/public.pem /application/var