Skip to content

Testing day application stub

Notifications You must be signed in to change notification settings

shipmonk-rnd/packing-task-stub

Repository files navigation

init

  • printf "UID=$(id -u)\nGID=$(id -g)" > .env
  • docker-compose up -d
  • docker-compose run shipmonk-packing-app bash
  • composer install && vendor/bin/doctrine orm:schema-tool:create && vendor/bin/doctrine dbal:run-sql "$(cat data/packaging-data.sql)"

run

  • php run.php "$(cat sample.json)"

adminer

  • Open http://localhost:8080/?server=mysql&username=root&db=packing
  • Password: secret