Giter Club home page Giter Club logo

meeting-bot's Introduction

Meeting-Bot

Установка

copy .env_meeting.example .env_meeting
python -m venv .venv
.\venv\Scripts\activate
pip install -r requirements.txt
pip install -r custom_reqs.txt
python .\migrator.py migrate

Заполнить .env_meeting. Cкопировать credls OAUTH google в token.json

Авторизация Slack

python .\auth.py

В контейнере:

docker-compose up -d auth

Далее появится файл etc/auth в нём будет ссылка на ngrok. Ссылку указываем в настройках бота в разделе OAuth

Запуск бота

python .\app.py
python .\oauth_server.py
ngrok http 5000 # Адрес занести в .env

Запуск в контейнере

docker-compose build --no-cache bot
docker-compose run bot python3 migrator.py migrate
docker-compose up -d bot oauth-server

Авторизация в Google

В папке etc после запуска oauth-server'a появится файл(с url ngrok'a на сервер) с одноименным названием, данный URl нужно указать в:

google console > Credentials > OAuth 2.0 Client IDs
Authorized redirect URIs(url)

meeting-bot's People

Watchers

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