This repository contains a skeleton to create a new exercise for the Python Tool Manager. You can find more information on the Python Tool Manager in the corresponding documentation on GitHub.
First, you need to create a new GitHub repository from this template and clone the just created repository on your computer.
Open a terminal window, navigate to the cloned or downloaded repository folder and execute the following command:
python -m venv venv
This will create a new venv
folder, containing the virtual environment. It's mandatory, that folder's name is venv
.
Open a terminal window, navigate to the cloned or downloaded repository folder, activate the virtual environment and execute the following command:
pip install -r requirements.txt
To run an exercise you need to open a terminal window, navigate to the cloned or downloaded repository folder and activate the virtual environment. Now, navigate to the desired exercise folder and execute the following command:
flask run --debug
- Change this Readme.md file according to your project.
- Change the license according to your needs.
- Add your additional requirements to the requirements.txt file.
- Keep the changelog up to date.