This commit is contained in:
yuuki 2024-04-06 18:43:20 +00:00
parent 3eef91d890
commit f4f2b4926b

8
push.sh Normal file
View 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