Organize your lan party!
python3 -m venv lol9k1envsource lol9k1env/bin/activatepip install -r lol9k1/requirements.txtexport FLASK_APP=lol9k1flask init-db- Generate an admin token for registration:
flask create-admin-token - Start lol9k1:
flask run
py -m venv lol9k1env.\lol9k1env\Scripts\activatepip install -r lol9k1\requirements.txt$env:FLASK_APP="lol9k1"flask init-db- Generate an admin token for registration:
flask create-admin-token - Start lol9k1:
flask run
You might want to use the same
SECRET_KEY
every time you start lol9k1.
This is useful because it allows users to stay authenticated even when the
server is restarted within a session.
To do this pass a good secret via env var LOL9K1_SECRET_KEY. If not set,
a random string will be used.
FLASK_APP- Set this tolol9k1
LOL9K1_SECRET_KEY- A secret key for the session. If not set, a random string will be used.LOL9K1_DB_PATH- The path to the SQLite database file.- Flask configuration
- Experimental:
LOL9K1_ENABLE_BRACKETS- Set this toTrueto enable brackets. Defaults toFalse.
flask init-db- Initializes the database.flask create-admin-token- Creates an admin user invite token.flask create-dummy-users- Creates dummy users.
- Flask - A microframework for Python based on Werkzeug, Jinja 2 and good intentions
- Bootstrap - An open source toolkit for developing with HTML, CSS, and JS.
- PyCharm - The Python IDE for Professional Developers
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thank you, Markus