Giter VIP home page Giter VIP logo

tachi-database-seeds's Introduction

Tachi Database Seeds

This repository contains some base "seed" files for the Tachi Database.

They are intended to be used with MongoDB, but since these are just a JSON export, you can really do anything you want with them.

What Databases Are Here?

Nothing private, nothing pertaining to an instance of Tachi. These are backbone files, such as songs, charts, and folders.

You can read more about what all these documents mean in tachi-common.

  • songs-{game}

These contain the song documents for the provided game.

  • charts-{game}

These contain the chart documents for the provided game.

  • folders

This contains the set folders for all games.

  • tables

This contains the set tables for all games.

How do I use this?

Depends what you want. If you're familiar with JSON, just take the files and do whatever.

If you want to analyse this data in a more advanced fashion, install mongodb-tools (You'll want mongoimport in $PATH) from your favourite location.

Then, run these commands:

cd scripts
pnpm install
node import -d your_db_name

Note that you'll need pnpm and node installed.

You can then use a tool like MongoDB Compass to analyse the data.

Contribution

If your change involves inserting or removing records, you must run node scripts/deterministic-collection-sort.js. This will ensure diffs stay somewhat sane.

I want db dumps for things like scores and users!

Coming soon...

Oddities

git diff on this repo will likely be horrifically broken. There's not much we can do about that, since git absolutely was not designed for this. Ah well.

tachi-database-seeds's People

Contributors

zkrising avatar emskye96 avatar ereti avatar hibikidesu avatar minaangura avatar grim657 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.