You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
565 B
15 lines
565 B
#!/bin/bash
|
|
docker compose stop
|
|
wait
|
|
docker build -t php81:v1 php81-apache
|
|
gunzip dump/data.sql.gz
|
|
gunzip dump/district.sql.gz
|
|
gunzip dump/community.sql.gz
|
|
cp -n config.sample.php config.php
|
|
docker compose up -d
|
|
wait
|
|
docker exec -it unfallkarte-db mysqladmin -uroot -pgeheim create unfallstatistik
|
|
docker exec -i unfallkarte-db mysql -uroot -pgeheim unfallstatistik < ./dump/data.sql
|
|
docker exec -i unfallkarte-db mysql -uroot -pgeheim unfallstatistik < ./dump/district.sql
|
|
docker exec -i unfallkarte-db mysql -uroot -pgeheim unfallstatistik < ./dump/community.sql
|