- Clone the repository:
git clone https://github.com/dinhln03/HM-ScalableRecs.git
- Change directory to the project root and export the project root path:
cd HM-ScalableRecs
export ROOT_DIR=$(pwd)
-
Install Poetry to manage dependencies
-
Install miniconda to manage Python environments
-
Create a new conda environment with Python 3.11.9:
conda create --prefix ./.venv python=3.11.9
- Make the Poetry use the new Python 3.11.9 conda environment:
poetry env use ./.venv/bin/python
- Install the project dependencies:
poetry install
- Create .env file based on the .env.example file.