You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andrey 4b89bb6cdf
Models
2 weeks ago
alembic Initial 2 months ago
app Models 2 weeks ago
.gitignore Initial 2 months ago
README.md edit README.md 2 months ago
alembic.ini Initial 2 months ago
poetry.lock Models 2 weeks ago
pyproject.toml Models 2 weeks ago
start.sh Скрипт для запуска, загрузка из .env 2 months ago

README.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Чтобы работало, надо:

  1. Постваить poetry на комп: https://python-poetry.org/docs/
  2. Выполнить в корне проекта:
poetry config settings.virtualenvs.in-project true
poetry install
  1. Создать файл .env в корне проекта и заполнить его:
TOKEN=<token>
DB_HOST=<host>
DB_NAME=postgres
DB_USER=<user>
DB_PASS=<pass>

Потом можно в pc добавить конфигурацию на __main__.py и с кнопки запускать, или через poetry run python app/__main__.py.