Go to file
2025-11-09 15:30:32 +03:00
.github/workflows Setup CI/CD 2025-11-01 16:48:23 +03:00
vacancies Remove blocking call in bot method 2025-11-09 15:30:32 +03:00
.dockerignore Add dockerization 2025-10-21 20:21:02 +03:00
.gitignore Enable concurrent updates for Telegram bot 2025-11-01 22:14:42 +03:00
.python-version Init project 2025-10-20 18:21:05 +03:00
compose.yaml Implement simplified recommendations 2025-11-09 13:04:31 +03:00
Dockerfile Fix dockerization 2025-10-31 20:10:03 +03:00
manage.py Improve vacancies indexing and exclude more cvs from vacancy list 2025-11-03 18:09:11 +03:00
pyproject.toml Implement simplified recommendations 2025-11-09 13:04:31 +03:00
README.md Implement simplified recommendations 2025-11-09 13:04:31 +03:00
uv.lock Implement simplified recommendations 2025-11-09 13:04:31 +03:00

vision-career

Sample .env:

OPENAI_API_KEY=your-token-here
OPENAI_PROXY=http://user:password@host:port

BOT_TOKEN=your-token-here

SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt

SECRET_KEY=secret
DEBUG=true

Commands:

docker compose up -d

KUBECONFIG=clickhouse-kubeconfig.yaml kubectl port-forward svc/clickhouse-clickhouse -n clickhouse 18123:8123

uv sync

uv run --env-file .env manage.py migrate
uv run --env-file .env manage.py createsuperuser --username stromenko_es --email estromenko@mail.ru
uv run --env-file .env manage.py collectstatic
uv run --env-file .env manage.py runserver

uv run --env-file .env manage.py generate_recommended_vacancies
uv run --env-file .env manage.py collect_vacancies_from_telegram_messages
uv run --env-file .env manage.py runbot

Production port-forwards:

KUBECONFIG=production-kubeconfig.yaml kubectl port-forward svc/main-cluster-rw -n postgresql-cluster 5432