JJK96 / srb2_highscores

Website to search and filter highscores from mysql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SRB2 Highscores

Frontend for the data extracted using https://github.com/JJK96/SRB2/tree/speedrun_server

And a page for voting on maps

Setup

  1. clone the repository including submodules
git clone --recursive <url>

or

git clone <url>
git submodule update --init --recursive
  1. Install the dependencies in requirements.txt.
pip install -r requirements.txt
  1. Create settings.py with the following contents:
username = "<database_username>"
password = "<database_password>"
host = "<database_hostname>"
database = "<database_name>"
  1. Build front-end
cd client
npm install
npm run dev
  1. python app.py

Alternatively wsgi can be used to run it in combination with an HTTP server.

Upgrade the database

If a change has been made to the database, the migrations should be run using

flask db upgrade

About

Website to search and filter highscores from mysql

License:The Unlicense


Languages

Language:Python 54.0%Language:Svelte 32.6%Language:JavaScript 6.6%Language:CSS 4.6%Language:HTML 1.0%Language:Mako 0.7%Language:SCSS 0.5%