core icon indicating copy to clipboard operation
core copied to clipboard

Docker integration

Open TiiFuchs opened this issue 3 years ago • 1 comments

I added a first Docker integration.

Just a php container with database. No webserver for now. Maybe we can add one later for development or when we need to test webhooks.

I changed the database constants in the phpunit.xml.dist accordingly and also changed the composer scripts so it makes use of the container. Eventually we need to revise this again.

TiiFuchs avatar Mar 20 '22 17:03 TiiFuchs

How to use

  • Run docker-compose up -d to build and start up the container
  • Run composer run-script test to run tests

That's it. Should be pretty straight-forward.

TiiFuchs avatar Mar 20 '22 17:03 TiiFuchs