Local Environment Setup

Elasticsearch Setup

Setting up Elasticsearch for CrelioHealth backend

👤 Sai Tharun

Elasticsearch Configuration

11. Run Elasticsearch Migration

Step 1: Create Python Virtual Environment

python3 -m venv ~/.venv

Step 2: Activate Virtual Environment

source ~/.venv/bin/activate

Step 3: Install Required Package

pip install requests

Step 4: Navigate to ES Migration Scripts

cd ./scripts/es_migration

Step 5: Create Templates

python create_templates.py

Step 6: Create Indexes

python create_indexes.py

12. Run Database Fixtures

Set the deployment zone to IN (India) and load the initial data:

make load-fixtures

On this page