Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 414 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 414 Bytes

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