- install php 8.1
- install composer
- install symfony cli om je leven makkelijker te maken
- run
composer install
Vervang deze regel in de
.env DATABASE_URL="mysql://username:[email protected]:3306/project-fedde-2020?serverVersion=8&charset=utf8mb4"
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
npm run dev
- voer deze functie uit
symfony server:start
Nu zou de webserver gestart moeten zijn.
- In de migrations folder staan de sql import scripts zodat je gelijk wat data hebt om mee te werken.
- Wanneer je deze wil inserten sluit de webserver af
- Daarna voer je een
npm install
gevolgd doornpm run watch
uit - Start je de server weer met
symfony server:start