Skip to content

Meziu/srb2_highscores

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

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