Skip to content

Search Engine Leif Edvinsson the world's first Chief Knowledge Officer (CKO)

Notifications You must be signed in to change notification settings

holloway-ai/leif

Repository files navigation

leif

Search engine.


Devcontainer

Just run codespace of devcontainer Note: Python path in dev environment : /usr/local/py-utils/venvs/poetry/bin/python

pytests

run redis: docker-compose -f docker/docker-local-redis.yml up -d

vscode pytest should work from the box. You can run pytest

Resources

This project has key dependencies:

Run Locally

To run locally in debug mode run (in dev environment):

uvicorn app.main:app --reload

Open your browser to http://localhost:8080 to view the OpenAPI UI.

Open API Image

For an alternate view of the docs navigate to http://localhost:8000/redoc

VS Code

test

Use Testing tab to run / debug tests

Debugging

  • set breakpoint
  • open main.py in project root
  • run debug file

Terminal

Be sure that first command in your terminal is source /usr/local/py-utils/venvs/poetry/bin/activate, create new terminal otherwise.

About

Search Engine Leif Edvinsson the world's first Chief Knowledge Officer (CKO)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published