Coder Social home page Coder Social logo

wetelegrambot's Introduction

WeYouMe Telegram bot

This bot allows you to post photos to Steepshot using your Steem-account. Click here to start posting your great pics!

How to deploy telegram bot in your host
  1. Enter your domain name in "settings.py" line 20.

For example:

20. WEBHOOK_HOST = 'bot.mydomain.org'
  1. Change the file "nginx.conf.j2", lines 5,6. Enter path to your ssl certificate.

For example:

5. ssl_certificate /path/to/file/fullchain.pem;
6. ssl_certificate_key /path/to/file/privkey.pem;
  1. Change deploy variables in "deploy_settings.py" file, lines 3,6 and 42.

For example:

3. HOST = '138.10.24.35'
...
6. CURRENT_HOST = 'bot.mydomain.org'
...
42. DB_PASSWORD = 'NiCE0OqyPtxZ'
  1. If you deploying first time you need to run the following command:
fab production first_time_deploy

otherwise

fab production deploy

NOTE

During deploying you will see the following message: Please enter your token:. It means that you need enter your private telegram bot token.

wetelegrambot's People

Contributors

aleksandrleonov avatar

Watchers

James Cloos avatar Nikolaj avatar

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.