- PHP 8.3
- Symfony 7.2
- Apache 2.4
- MySQL 5.7
- Composer 2
git clone git@github.com:Jonathanlight/exagonal_blog.git
$ cd exagonal_blog
# or start docker containers
$ make docker-run
# install dependencies
$ make docker-exec apache bash
$ composer install
# create migrations
$ make docker-exec apache bin/console doctrine:migrations:migrate
# load fixtures
$ make docker-exec apache bin/console doctrine:fixtures:load
server running on http://localhost:8000
cd docker/etc/apache/ssl/
openssl req -x509 -out server.crt -keyout server.key \
-newkey rsa:2048 -nodes -sha256 \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
make phpstan
make php-cs-fixer