taiko-web-db/push.sh
2024-04-06 18:43:20 +00:00

9 lines
339 B
Bash

#!/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