https://github.com/azimjohn/survey-bot
Reusable Survey bot for telegram built with Django
https://github.com/azimjohn/survey-bot
django reusable telegram-bot
Last synced: over 1 year ago
JSON representation
Reusable Survey bot for telegram built with Django
- Host: GitHub
- URL: https://github.com/azimjohn/survey-bot
- Owner: azimjohn
- Created: 2019-04-10T11:14:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T10:00:27.000Z (almost 2 years ago)
- Last Synced: 2024-07-21T10:59:25.668Z (almost 2 years ago)
- Topics: django, reusable, telegram-bot
- Language: Python
- Homepage:
- Size: 458 KB
- Stars: 31
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SurveyBot
## Telegram bot for Surveys built with Django and Telebot
### First get the repo on your machine:
```bash
$ git clone https://github.com/azimjohn/survey-bot.git
```
### Then install requirements:
```bash
$ pip install -r requirements.txt
```
### Make the migrations and apply them:
```bash
$ python manage.py makemigrations
$ python manage.py migrate
```
### Export the bot token, replace `REPLACE_ME` with your bot's token
```bash
$ export BOT_TOKEN=REPLACE_ME
```
### Finally, run the server 🎉
```bash
$ python manage.py runbot
```