kreistabelle
This commit is contained in:
3
setup.sh
3
setup.sh
@@ -1,11 +1,12 @@
|
||||
#!/bin/bash
|
||||
docker compose stop
|
||||
wait
|
||||
docker build -t php81:v1 php81-apache
|
||||
gunzip dump/data.sql.gz
|
||||
gunzip dump/district.sql.gz
|
||||
mkdir database
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user