Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Flo-League Website

This repository contains the code for FloLeague, an elo based ranking website for the MMORPG Florensia.

Stack

Flo-League uses Flask as a framework. For the frontend, Tailwindcss is used.

Matchmaking

Machtes are generated pseudo-randomly (at least those with team sizes >= 1). They will try to generate 'fair teams', which prevents multiple base classes to be in the same team, if it is avoidable. Here is a rough plan on how this works (I'm bad at drawing and explaning, sorry!).

Development

Dependencies

If you want to run the project locally, you will have to install all needed dependencies.

Python: pip install -r requirements.txt

NodeJS: npm install

.env file

You will need a .env file in the root directory with the following settings:

Key Description
FLASK_ENV Either development or production.
SECRET_KEY The secret key used by Flask.

Running

To run the webserver: python main.py

To re-build the css whenever a change is made, run the watcher by using npm run watch:tailwind.

You may have to populate the database with players first, to do so, run python update_players.py.

License

MIT License