Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ruslan-korneev/telegram-bot-postgres-docker-template

Telegram-Bot Template with Django, PostgreSQL, Docker, Aiogram
https://github.com/ruslan-korneev/telegram-bot-postgres-docker-template

aiogram ci django docker docker-compose postgresql python template

Last synced: 4 days ago
JSON representation

Telegram-Bot Template with Django, PostgreSQL, Docker, Aiogram

Awesome Lists containing this project

README

        

# Telegram-Bot-Template
## Stack
Python, Aiogram, Django,
Docker, PostgreSQL
## Setup
```bash
cat env_sample > .env
# change values in .env

docker-compose build
docker-compose up -d
```

## Database migrations
```bash
# to make new migration files
docker-compose exec web sh -c "python3 src/manage.py makemigrations"
# run migrations
docker-compose exec web sh -c "python3 src/manage.py migrate"
```