Skip to content

benhgreen/statistik

Repository files navigation

STATISTIK

Description

Review tracker for beatmania IIDX chart difficulties. Supports traditional ClickAgain-style reviews as well as Elo-based, Textage-style reviews.

Deployed to my DO droplet at http://statistik.benhgreen.com. Elo reviews can be found at http://statistik.benhgreen.com/elo?level=12.

Setup

Uses Python 3.5, Django 1.8, Postgres, as well as whatever else is in requirements.txt. (Postgres is absolutely required unless you modify certain models to not use ArrayFields.)

Install everything, setup database/migrations, create some users via the /register endpoint and you should be good to go.

Note that a user's UserProfile must be modified to 'enable' reviewing on their account.

To populate the song database, run the included import_music_csv.py and import_chart_csv.py scripts from the root directory.

Running the app locally with Docker

  • Build the requirements image: docker build -f docker/Dockerfile.requirements --tag statistik-requirements .
  • Build the app: docker-compose build
  • Run the app: docker-compose up

Primary TODOs

  • cleanup code (especially frontend)
  • better navigation via links in page titles
  • indexes for elo rankings