FIFA Tournament Companion (FTC) is a tool for all you FIFA fools. It is designed to help you track all kinds of relevant and irrelevant information about your tournament. Currently it can generate a schedule, store the players for each team, store match results aswell as a short match report (goals and cards).
First clone this repository
git clone [email protected]:philipph77/fifa_tournament_companion.git
Everything you need is located the app
folder. Navigate your terminal into this folder.
Use the package manager pip to install FTC.
pip install .
Navigate your terminal into the app
folder an try to initialize the database by running the command
flask init-db
Finally you can load the player into the database with the command
flask load-players 22
Note: The argument 22 specifies that you want to use the FIFA22 players. You can also choose to use the FIFA21 players
If everything is set up properly you can run the application with
flask run
You should see an ouput like:
* Serving Flask app "ftc"
* Environment: development
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 855-212-761
If you now navigate to http://127.0.0.1:5000/, you should see the login page
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
If you add players to a team, the player images are automatically downloaded from sofifa.com. The download and use of the images is done at your own risk! We do not own copyright to those images.