From 30a42b3e52b24055a12191e6fc7f725eb0ae2420 Mon Sep 17 00:00:00 2001 From: Walter Hupfeld Date: Sat, 7 Oct 2023 11:47:23 +0200 Subject: [PATCH] setup --- setup.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index e595365..d384bcc 100644 --- a/setup.sh +++ b/setup.sh @@ -2,6 +2,11 @@ docker compose stop gunzip dump/data.sql.gz gunzip dump/district.sql.gz - +cp dump/data.sql database/data.sql +cp dump/district.sql database/district.sql cp config.sample.php config.php docker compose up -d +docker exec -it unfallkarte-db mysqladmin -uroot -pgeheim create unfallstatistik +# docker exec -it unfallkarte-db mysql -uroot -pgeheim unfallstatistik < /var/lib/mysql/data.sql +# docker exec -it unfallkarte-db mysql -uroot -pgeheim unfallstatistik < /var/lib/myssql/district.sql +# Im Container source /var/lib/mysql/data.sql ausführen