Skip to content

Dadacticiel/une_question

Repository files navigation

Création de l'application Symfony

symfony new --webapp une_question

Initilisation des fichiers de configuration Platform.sh

https://symfony.com/doc/current/cloud/getting-started.html#configuring-platform-sh-for-a-project

symfony project:init

Lancement de yarn

docker exec -ti une_question_back yarn install
docker exec -ti une_question_back yarn run watch

composer require platformsh/symfonyflex-bridge composer require php-amqplib/php-amqplib composer require symfony/amqp-messenger composer require amphp/http-client npm install require npm install amqplib

Pour voir l'UI : ssh $(platform ssh --pipe) -L 15672:rabbitmq.internal:15672 et ouvrir http://localhost:15672

Pour se connecter au rabbitMQ de platform : docker exec -ti une_question_back bash platform tunnel:single -r rabbitmq -y