apexlearningcurve / ECS

Models for superior E-Commerce Search
0 stars 0 forks source link

E-Commerce Search

Models for superior E-Commerce Search

Setting Up the Project

Step 1: Installing Poetry

We use Poetry for dependency management. First, check if Poetry is installed by running:

poetry -V

If it shows a version like Poetry (version x.y.z), you're set. If not, follow the official guidelines to install Poetry.

πŸ“Ž Note: Though a requirements.txt is provided, Poetry is recommended for efficient dependency management.

Step 2: Environment Setup

Configuring Poetry

To maintain organization, configure Poetry to create a virtual environment in the project's directory:

poetry config virtualenvs.in-project true

Step 3: Installing Dependencies

Install all the project's dependencies with:

poetry install --no-root

πŸ“Ž Note: Use the --no-root option to skip installing the project package itself.

Step 4: Activating the Virtual Environment

Post-installation, activate the virtual environment located in the .venv directory.

For macOS/Linux:

source .venv/bin/activate

For Windows:

.venv\Scripts\activate