Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ruslan-korneev/telegram-bot-postgres-docker-template
- Owner: ruslan-korneev
- Created: 2022-04-18T08:46:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T04:23:22.000Z (over 2 years ago)
- Last Synced: 2024-12-24T07:59:49.644Z (5 days ago)
- Topics: aiogram, ci, django, docker, docker-compose, postgresql, python, template
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram-Bot-Template
## Stack
Python, Aiogram, Django,
Docker, PostgreSQL
## Setup
```bash
cat env_sample > .env
# change values in .envdocker-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"
```