mirror of
https://codeberg.org/yuukixyz/taiko-web-db.git
synced 2024-09-06 22:21:17 +02:00
add push
This commit is contained in:
parent
3eef91d890
commit
f4f2b4926b
8
push.sh
Normal file
8
push.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker cp users.json taiko-mongo:/a
|
||||||
|
docker exec -i taiko-mongo mongoimport --db taiko --collection users /a
|
||||||
|
docker cp songs.json taiko-mongo:/b
|
||||||
|
docker exec -i taiko-mongo mongoimport --db taiko --collection songs /b
|
||||||
|
docker cp scores.json taiko-mongo:/c
|
||||||
|
docker exec -i taiko-mongo mongoimport --db taiko --collection scores /c
|
Loading…
Reference in New Issue
Block a user