# CC34 ## Membres - Ayoub ZIANI - François ZHU - Zakarya BEN JABALLAH - Aymeric SERRA ## Questions ### Question 1 #### Création du projet ```bash symfony new cc34 --webapp # Création du projet ``` #### Création d'un controlleur ```bash symfony console make:controller pages ``` #### Bootsrap et Wepback Encore ```bash symfony composer require symfony/webpack-encore-bundle npm install npm install bootstrap npm install bootstrap-icons # Modifier asset/app.js et config/package/twig.yaml npm run dev ``` ### Question 2 ```bash symfony console doctrine:database:create # Création de la base de donnée symfony console make:entity Atelier # Création d'une entité Atelier symfony console make:migration # Création d'une migration symfony console doctrine:migrations:migrate # On lance la migration ``` ### Question 3 ```bash symfony composer require fakerphp/faker symfony composer require orm-fixtures --dev symfony console doctrine:fixtures:load ``` ### Question 4 ```bash symfony console make:crud Atelier ``` ### Question 5 ```bash npm run dev ``` ### Question 6 ```bash symfony composer require cebe/markdown "~1.2.0" ``` ### Question 7 ```bash symfony console make:user symfony console make:entity User symfony console m:mig symfony console d:m:m symfony console make:auth symfony console make:registration-form ``` ### Question 8 ```bash symfony console make:entity symfony console make:migration symfony console d:f:l ``` ### Question 9 Pas de commandes, juste du code dans AtelierController ### Question 10 et 11 Pas de commandes. ### Question 12 ```bash symfony console make:entity symfony console make:migration symfony console d:m:m ```