Giter Site home page Giter Site logo

online_telegram_chatbot's Introduction

한국인공지능아카데미 & SBA 아카데미 온라인 챗봇 교육자료

Telegram Chatbot Tutorial with Python Flask

시작하기

교육영상 : 동영상 URL 을 참고하시면 됩니다.

Google Firebase Document : https://firebase.google.com/docs/reference/admin/python

파이썬 패키지 명세

requirements

설치

Heroku CLI(Command Line Interface) 설치 Install Heroku CLI

만약 Git이 설치 되어있지 않다면 Install Git

Ngrok 을 통한 간단한 테스트

Ngrok 실행화면 Ngrok 다운

ngrok http 5000 --region ap 

Ngrok 을 이용한 테스트

tuto01 에 있는 telegram.py 를 수정

API_KEY = Telegram Bot ACCESS Key
WEBHOOK URL = Ngrok forwarding HTTPS URL

실행할 파일 tuto02~05에 있는 app.py 실행

python app.py

app.py 실행 로그

 Running on http://127.0.0.1:5000/

배포

Deploy my app to Heroku

Heroku CLI에서 사용 [ 내용은 해당 내용을 ]

>> heroku login 
>> cd tuto00(Heroku)
>> git init
>> git add .
>> heroku git:remote -a [Heroku 저장소 이름]
>> git add .
>> git commit -m "[코맨트]"
>> heroku buildpacks:set heroku/python
>> git push heroku master
>> heroku ps:scale web=1

Built With

Authors

  • LeeJunho - Initial work - Panic

License

This project is licensed under the MIT License - see the LICENSE.md file for details

online_telegram_chatbot's People

Contributors

saitros avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

hangj11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.