Steps:
-
Select Use this template > Create a new repository. This menu is in the top right corner of this repository.
-
Edit
setup.py
and define your the project repository.- Edit the README.md file's workflow status badge with the name of your repository.
- Rename
src/MLProject
to your project name.
-
Create virtual environment
virtualenv .venv -p /usr/bin/python3.10
Note: You can use any Python version, as long the Python packages in
requirements.txt
are supported. Because of the Python packages inrequirements.txt
were declared without describe the version. -
Activate the virtual environment
source .venv/bin/activate
-
Install package.
pip install -r requirements.txt
-
enable the environment variables.
cp .env.example .env