Description coming soon.
- Install Ollama
brew install ollama
- Pull the Mistral model
ollama serve
ollama pull mistral
- Install Docker
Install Docker Desktop: https://www.docker.com/products/docker-desktop/
brew install docker-compose
- Run Docker Compose
docker-compose up
- Install More Stuff
brew install libpq && brew link --force libpq
brew install openssl@3
- Create a virtual environment
python3 -m venv venv
source venv/bin/activate
- Install dependencies
env \
LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib" \
CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include" \
PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig" \
pip install -r requirements.txt
- Run Migrations
alembic -c src/infrastructure/db/alembic.ini upgrade head
In one terminal, activate your virtual environment and run Celery:
source venv/bin/activate
PYTHONPATH=src celery -A config.celery worker --loglevel=info --pool=solo
Then in another terminal run the data ingestion script:
source venv/bin/activate
make post-deploy
source venv/bin/activate
make dev-cli
source venv/bin/activate
make test