diff --git a/README.md b/README.md index d8b8c4c..b3836e8 100644 --- a/README.md +++ b/README.md @@ -85,9 +85,15 @@ nix develop .#poetry ## Install Tips ### POSTGRES -- If postgres is already running, running the bin fails, shut it down first. +- If postgres is already running and running the bin fails, shut it down first. - Nix will manage postgres' start/stop function itself when you use it, but if you have started the database elsewhere, it won't be able to manage it, and will fail to start up. +### NIXOS ERRORS +Updating Mac to Sequoia create an error: +error: the user '_nixbld1' in the group 'nixbld' does not exist + +Fix it by running this code in your terminal `curl --proto '=https' --tlsv1.2 -sSf -L https://github.com/NixOS/nix/raw/master/scripts/sequoia-nixbld-user-migration.sh | bash -` + ## Install Instructions requires `brew install just` diff --git a/pyproject.toml b/pyproject.toml index 173dc4e..02de769 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,9 +44,9 @@ aiokafka = "^0.11.0" supabase = "^2.6.0" psycopg2-binary = "^2.9.9" en-core-web-sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl"} -# en-core-web-lg = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.8.0/en_core_web_lg-3.8.0-py3-none-any.whl"} -# en-core-web-md = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.8.0/en_core_web_md-3.8.0-py3-none-any.whl"} -# en-core-web-trf = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.8.0/en_core_web_trf-3.8.0-py3-none-any.whl"} +en-core-web-lg = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.8.0/en_core_web_lg-3.8.0-py3-none-any.whl"} +en-core-web-md = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.8.0/en_core_web_md-3.8.0-py3-none-any.whl"} +en-core-web-trf = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.8.0/en_core_web_trf-3.8.0-py3-none-any.whl"} [tool.poetry.group.dev.dependencies] pytest = "^7.4.3" diff --git a/topos/api/api.py b/topos/api/api.py index 6c5a6d5..03679ed 100644 --- a/topos/api/api.py +++ b/topos/api/api.py @@ -49,7 +49,7 @@ def start_topos_api(): print("\033[92mINFO:\033[0m API docs available at: \033[1mhttp://0.0.0.0:13341/docs\033[0m") uvicorn.run(app, host="0.0.0.0", port=13341) -def start_kafka_api(): +def start_chat_server(): from ..chat_api.api import start_messenger_server start_messenger_server() @@ -60,7 +60,7 @@ def start_kafka_api(): def start_local_api(): global process1, process2 process1 = Process(target=start_topos_api) - process2 = Process(target=start_kafka_api) + process2 = Process(target=start_chat_server) process1.start() process2.start() process1.join()