Placez-vous à la racine du projet et lancez la commande:
make install
Placez vous à la racine du projet et lancez manuellement les commandes sous la clé install dans le fichier Makefile (qui se trouve également à la racine du projet)
e.g. (path: projectDirectory/Makefile)
...
install: ## Install symfony project
composer install
make build
rebuild: ## Rebuild database
php bin/console doctrine:database:drop --force
make build
build: ## Build database
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate --no-interaction
php bin/console doctrine:fixtures:load --no-interaction --append
Dans cet exemple, lancez les commandes suivantes:
composer installphp bin/console doctrine:database:createphp bin/console doctrine:migrations:migrate --no-interactionphp bin/console doctrine:fixtures:load --no-interaction --append
La commande make build fait appel à un nouveau block de commande qui sont les commandes 2, 3 et 4 indiquées juste au dessus.
####3. Programmer le cron Scheduler (seulement en production)
Ajouter dans le cron du serveur la commande suivante:
* * * * * php path_to_syllabus\bin\console app:scheduler
- Disabled CSRF Token for TeachersType. Still no idea why it randomly doesn't work.
- TeacherRepositoryFactory and TeacherRepositoryInterface services fixed in services.yaml
- Select2 teachers form focus issue fixed
- Disable csrf protection for general presentation and duplicate course info forms
- Teaching hours infos added
- Syllabus API filters fixed
- Syllabus not published is now invisible to student views
- Migration Symfony 4.4
- Rework student view
- Add student light version
- Added API filters for Course and CourseInfo
- Switched apogee code <--> title
- Prerequisite not mandatory
- Fixed obsolete => false
- Added title on student view