Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 695 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 695 Bytes

YATB

Documentation: https://kksctf.github.io/yatb/

Getting started

dev

$ python3 -m pip install -r requirements-dev.txt

production

$ python3 -m pip install -r requirements.txt

Launch

$ python3 -m uvicorn main:app --host 0.0.0.0 --port 80

  • --log-level=debug/--log-level=info - debug level.
  • --reload: if you want crazy autoreload, can broke DB!
  • --proxy-headers: if you want nginx
  • --forwarded-allow-ips *: if you want nginx

Dev

You can enable YATB_DEBUG env (False by default) and login through /docs or debug buttons on login page.

First pair of buttons signing up and signing in as admin, second - as basic user

made by kks