diff --git a/push.sh b/push.sh new file mode 100644 index 00000000..e207f02c --- /dev/null +++ b/push.sh @@ -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