Code Monkey home page Code Monkey logo

odoo-telegram's Introduction

Telegram Bot for odoo

Set of modules to run a telegram bot on odoo server.

Description and Documentation: https://apps.odoo.com/apps/modules/10.0/telegram

Getting started

Create your bot via BotFather. It gives you access token that you will use later.

Install odoo with telegram modules and dependencies via set of docker containers:

docker network create odoo-telegram

docker run \
-d \
-e POSTGRES_USER=odoo \
-e POSTGRES_PASSWORD=odoo \
--network=odoo-telegram \
--name db-telegram  \
postgres:9.5

docker run \
-d \
--name odoo \
--network=odoo-telegram \
-e ODOO_MASTER_PASS=admin \
-e DB_PORT_5432_TCP_ADDR=db-telegram \
-t itprojectsllc/install-odoo:10.0-telegram -- -d telegram

# before executing this stop nginx or apache if you have one
docker run  \
-d \
-p 80:80 \
--name telegram-nginx \
--network=odoo-telegram \
-t itprojectsllc/docker-odoo-nginx

Open http://localhost/ (you may need to wait few minutes on first open) and login with login admin and password admin.

Then install some telegram modules (use search box and don't forget to remove Apps filter).

Open Technical / Parameters / System Parameters menu. Put access token to telegram.token parameter.

Now you can send /help command to your bot!

For futher usage see documentation of main module (skip installation part) or documentation of other installed telegram modules.

Donation

Feel free to support our development by purchasing one or two modules.

odoo-telegram's People

Contributors

danisan avatar

Watchers

 avatar  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.