Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

montessori-ressources/api-platform-poc

Repository files navigation

API Platform POC for Montessori project

How to start the docker environment for development purpose ?

docker-compose up

How to access then the main ressources ?

(you will need to accept the certificate exception as it is self-signed ones)

Useful commands

  • docker-compose exec php bin/console doctrine:schema:update --force to update the DB schema
  • docker-compose exec php composer ... to run composer command
  • docker-compose exec db psql -U api-platform -d api to run SQL queries
  • docker-compose exec client yarn add something to add a front end dep

Load fixtures

  • docker-compose exec php bin/console doctrine:fixture:load