Skip to content

Hexlet/hexlet-vacancy-analysis

Repository files navigation

hexlet-vacancy-analysis

.

Requirements:

To run this project, you need to have the following software installed:

  • Python >=3.12
  • Uv
  • PostgreSQL

Preparation:

Create .env file with code kind of:

SECRET_KEY=your_secret_key
DJANGO_EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
DATABASE_URL=postgresql://user:password@localhost:5432/db_name
ALLOWED_HOSTS=127.0.0.1,localhost,yourdomain.com

EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
[email protected]
EMAIL_HOST_PASSWORD=secret123
EMAIL_TIMEOUT=10

DEBUG=True

YANDEX_CLIENT_ID=key
YANDEX_CLIENT_SECRET=key
YANDEX_REDIRECT_URI=http://localhost:8000/auth/yandex/callback/

GITHUB_CLIENT_ID=key
GITHUB_CLIENT_SECRET=key
GITHUB_REDIRECT_URI=http://localhost:8000/auth/github/callback/

TINKOFF_ID_CLIENT_ID="clien_id"
TINKOFF_ID_CLIENT_SECRET="secret_key"
TINKOFF_ID_REDIRECT_URI="https://localhost/callback"

Create a PostgreSQL user (or reuse an existing one) and a database using the parameters from DATABASE_URL.

Installation:

To set up the project, navigate to the project directory and run the following commands:

make install
make migrate
make create-superuser

Local run:

Terminal 1:

make start-backend

Terminal 2:

make start-frontend

запуск через docker:

для работы проекта необходимы:


  • запускаем проект
make docker-up

.

Comments

.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published