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

https://github.com/softcodenet/blog-bot


https://github.com/softcodenet/blog-bot

api blog blog-api django django-project django-rest-framework golang python telegram-bot

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

[![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
A Django project.
A Django project.





Header

๐Ÿ“œ๐Ÿค– Blog Bot


Telegram bot for blogging


Report Bug
ยท
Request Feature
ยท
Send a Pull Request

### Development requires

- [Python 3.9.0](https://www.python.org/downloads/release/python-390/)
- [Golang 1.16.7](https://golang.org/dl/)
- [Django 3](https://www.djangoproject.com/)

### Installation

```sh
# make sure that the virtual environment with python 3.9 is activated

git clone https://gitlab.com/themir8/blog-bot.git

mkdir blog-bot-telegram
git clone https://gitlab.com/themir8/blog-bot.git --branch telegram-bot-go ./blog-bot-telegram

pip install -r blog-bot/requirements.txt # installing python dependencies
python blog-bot/manage.py migrate # database migration (preparation)
```

### Launch server

```sh
cd blog-bot
python manage.py runserver
```

### Launch telegram bot

```sh
cd blog-bot-telegram
make run
```

[forks-shield]: https://img.shields.io/github/forks/themir8/blog-bot?style=for-the-badge
[forks-url]: https://github.com/themir8/blog-bot/network/members
[stars-shield]: https://img.shields.io/github/stars/themir8/blog-bot?style=for-the-badge
[stars-url]: https://github.com/themir8/blog-bot/stargazers
[issues-shield]: https://img.shields.io/github/issues/themir8/blog-bot?style=for-the-badge
[issues-url]: https://github.com/themir8/blog-bot/issues