mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 18:37:58 +03:00
13 lines
684 B
Plaintext
13 lines
684 B
Plaintext
latest_dataset := "2024-05"
|
|
# Load the latest Kamaitachi dataset. This is put in the "anon-kamai" database.
|
|
load-kamai-dataset:
|
|
wget -O- https://cdn-kamai.tachi.ac/datasets/{{latest_dataset}}.dump | mongorestore --uri='mongodb://mongo' --gzip --archive
|
|
|
|
echo "Successfully loaded. You should change 'server/conf.json5' to use anon-kamai as the database."
|
|
|
|
# Load the latest Bokutachi dataset. This is put in the "anon-boku" database.
|
|
load-boku-dataset:
|
|
wget -O- https://cdn-boku.tachi.ac/datasets/{{latest_dataset}}.dump | mongorestore --uri='mongodb://mongo' --gzip --archive
|
|
|
|
echo "Successfully loaded. You should change 'server/conf.json5' to use anon-boku as the database."
|