BbrSofiane/vector_search

★ 0Forks 0PythonGitHub ↗Compare

README

vector_search

fuzzy-couscous Code style: black Code style: djlint linting: pylint

Prerequisites

  • Python 3.10+
  • Poetry 1.2+
  • Postgresql 10+

Development

Create a new virtual environment

poetry shell

Install dependencies

poetry install

Install pre-commit

pre-commit install

Run the django development server

poe r

Compile tailwind in watch mode

Open a new terminal and run

poe t

poethepoet is the task runner used here. To see all available commands read the [tool.poe.tasks]section of the pyproject.toml file or run poe -h to see the help page.

Note: SITE_ID

You may get an error when trying to login or signup, this is due to django-allauth, you need to create a new site in django admin and use its ID as the value of SITE_ID in the settings.pyfile. Create a new superuser with the python manage.py createsuperuser command, login to django admin then look for the sites section in the left navigation bar and create a new site.

Contributors

BbrSofiane

Issues