Hexagone Symfony Blog

Installation

Install Symfony CLI

Install PHP, Composer and required components

Under Fedora:

sudo dnf install php-cli php-pdo php-mysqlnd composer

Install Docker

Run Database and phpMyAdmin

docker compose up

Run this in phpMyAdmin (for some reason the user created in the compose file doesn't work, and neither the root user)

CREATE USER 'app4' IDENTIFIED BY 'password';
GRANT ALL ON *.* TO 'app4';

Install Dependencies

composer install

Create Database

php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load

Run Symfony Server

symfony server:start