Start by cloning the repository to your desired location and navigating into the local repository:
git clone https://github.com/Pantonius/TagPag.git
cd TagPag
It is best practice to run python applications in their own environments such that dependencies of different projects don't interfere with each other. Below are instructions on how to set up a virtual environment for this project using pyenv
or conda
.
-
Install
pyenv
by following the instructions in the official documentation. -
Create a virtual environment for this application using
pyenv
. Open your terminal and execute the following commands:pyenv install 3.12.7 pyenv virtualenv 3.12.7 -env
-
Activate the virtual environment:
pyenv activate tagpag-env
-
Install the required dependencies:
pip install -r requirements.txt
-
Install
conda
by following the instructions in the official documentation. -
Create a virtual environment for this application using
conda
. Open your terminal and execute the following commands:conda create --name -env python=3.12.7
-
Activate the virtual environment:
conda activate -env
-
Install the required dependencies:
pip install -r requirements.txt
-
Activate the environment depending on your setup:
-
If you are using
pyenv
, activate the virtual environment by running:pyenv activate -env
-
If you are using
conda
, activate the environment by running:conda activate -env
-
-
Run the streamlit app:
streamlit run src/app.py
An example configuration (see .env-example) should be loaded with some example data (see example_workdir).