- Clone the repository
$ git clone [email protected]:FannyGautierr/bap_semestre2.git
- Go to the project directory
$ cd bap_semestre2
- Install composer
$ composer install
- Duplicate the
.env
file and name it.env.local
- Update the
DATABASE_URL
variable in the.env.local
file with your database credentials. It should look like this :
DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7"
- Create the database
$ php bin/console doctrine:database:create
- Run the migrations
$ php bin/console doctrine:migrations:migrate
- Load the fixtures
$ php bin/console d:f:l
- Run the server
$ symfony serve
- Run encore build
$ npm run watch
-
Go to http://localhost:8000
-
Enjoy!
Landing Page Cité Educative : http://127.0.0.1:8000/
Page Event Cité Educative : http://127.0.0.1:8000/event
Page Event Villeneuve La Garenne : http://127.0.0.1:8000/event2
Page actualité Villeneuve La Garenne : http://127.0.0.1:8000/actualite
Page d'acceuil Villeneuve La Garenne : http://127.0.0.1:8000/accueil
Formulaire : http://127.0.0.1:8000/survey
Accéder a l'admin : http://127.0.0.1:8000/admin
- Admin : On peut seulement voir les réponses et les statistiques
Identifiants :
Mail : [email protected]
Mot de passe : 123 - Super Admin : Créer les questionnaires , créer des questions , créer des options et les assigner a des questionnaires
Identifiants :
Mail : [email protected]
Mot de passe : 123