This project is about a chatbot on Telegram to study the cloud computing. You can refer to the project of chatbot-deploy which is conveinent for the environment of development and deployment. You can refer to an instruction for bots on Telegram to learn about how to create a bot and more.
You can find sql files under the directory of db
to initialize the database.
[postgresql]
host=
database=
user=
password=
[telegram]
access_token=
pip install -r requirements.txt
python chatbot.py
docker build -t chatbot:test .
docker run -it --rm -v "$(pwd)/config.ini:/app/config.ini" --name test_chatbot chatbot:test
./docker-test.sh
You can view the remote chatbot image from dockerjeffery/chatbot.
docker run -it --rm -v "$(pwd)/config.ini:/app/config.ini" --name test_chatbot dockerjeffery/chatbot