Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.11 KB

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.