update.sh 367 B

123456789101112
  1. curl https://ygocdb.com/api/v0/cards.zip -o cards.zip
  2. unzip cards.zip
  3. rm cards.zip
  4. python3 build-card-info.py
  5. python3 split.py
  6. python3 genbanlist.py > ../src/ocg_banlist.json
  7. python3 cn-genbanlist.py > ../src/cnocg_banlist.json
  8. python3 md-genbanlist.py > ../src/md_banlist.json
  9. rsync -avz ./card_db_parts/ root@raye:/volume/webroot/card_db_parts/
  10. cd ..
  11. sh deploy.sh