This is the 4th project for the Python path of Openclassrooms. The goal is to Develop a Software Program Using Python which is capable to do the following things:
- Create and manage a database with data of saved players and tournaments
- Run a Tournament using the "Swiss" tournament system and produce reports
- Python version 3.9.5 or higher must be installed.
- Create the directory in which you want to keep the program.
- Open your terminal.
- Navigate to the folder with the "chess_club_app" folder and requirements.txt in it
- Create your Virtual Environment by running the command:
python -m venv .venv
- Activate the Environment by running:
.venv\Scripts\activate.bat
(Windows) or.venv\Scripts\activate.ps1
(Powershell) orsource .venv/bin/activate
(OS) - Install the Requirements by running the command:
pip install -r requirements.txt
- Open your terminal
- Navigate to the directory that contains the "chess_club_app" folder
- Activate the environment by running:
.venv\Scripts\activate.bat
(Windows) or.venv\Scripts\activate.ps1
(Powershell) orsource .venv/bin/activate
(OS) - Run the command:
python -m chess_club_app
- Open your terminal
- Navigate to the directory that contains the "chess_club_app" folder
- Activate the environment by running:
.venv\Scripts\activate.bat
(Windows) or.venv\Scripts\activate.ps1
(Powershell)
orsource .venv/bin/activate
(OS) - Run the command:
flake8 --format=html --htmldir=flake-report
- The program will create a database folder and file automatically
- The folder and files for the flake8 report will be created automatically
- Python version 3.9.5
- TinyDB version 4.5.1
- Flake8 version 4.0.1