taiko-web-db/push.sh

9 lines
339 B
Bash
Raw Normal View History

2024-04-06 20:43:20 +02:00
#!/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