setup
This commit is contained in:
parent
76696791bc
commit
93a85d2aad
8
setup.sh
8
setup.sh
@ -3,11 +3,9 @@ docker compose stop
|
|||||||
docker build -t php81:v1 php81-apache
|
docker build -t php81:v1 php81-apache
|
||||||
gunzip dump/data.sql.gz
|
gunzip dump/data.sql.gz
|
||||||
gunzip dump/district.sql.gz
|
gunzip dump/district.sql.gz
|
||||||
cp dump/data.sql database/data.sql
|
mkdir database
|
||||||
cp dump/district.sql database/district.sql
|
|
||||||
cp config.sample.php config.php
|
cp config.sample.php config.php
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
docker exec -it unfallkarte-db mysqladmin -uroot -pgeheim create unfallstatistik
|
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 -i unfallkarte-db mysql -uroot -pgeheim unfallstatistik < ./dump/data.sql
|
||||||
# docker exec -it unfallkarte-db mysql -uroot -pgeheim unfallstatistik < /var/lib/myssql/district.sql
|
docker exec -i unfallkarte-db mysql -uroot -pgeheim unfallstatistik < ./dump/district.sql
|
||||||
# Im Container source /var/lib/mysql/data.sql ausführen
|
|
||||||
|
Loading…
Reference in New Issue
Block a user