Files
Phraseanet/tests/dump_container.sh
2015-12-22 14:25:13 +01:00

12 lines
199 B
Bash
Executable File

#!/usr/bin/env sh
set +x
rm -f pimple.json;
APP_ENV=dev APP_CONTAINER_DUMP=allowed php -S 0.0.0.0:8080 www/index_dev.php &
SERVER_PID=$!
sleep 1;
curl http://127.0.0.1:8080/_dump
kill $SERVER_PID