Coder Social home page Coder Social logo

ecc-main's Introduction

Everything Control by Chatting

ECC는 누구나 쉽게 접근 가능하고 사용 가능한 채팅이라는 플랫폼을 이용해서 에어컨, 도어락, 입출입관리 등의 사물이나 G Suite, Github, Trello, MS Office 등의 프로그램을 제어하고 관리하는 서비스를 만드는 프로젝트 입니다.

채팅을 관리하는 서버 외에 사물, 외부 프로그램을 관리하는 서버를 각각 두어 MSA(Micro Service Architecture)방식으로 개발하는 것을 지향하며 안전하고 쉬운 설치와 사용을 위해 Dokcer Image를 만들어 배포할 예정 입니다.

Getting Started

Prerequisites

  • Python >= 3.6
  • Raspberry Pi
    • Python == 2.7
    • Infrared sensor

Installing

  1. clone project
    git clone https://github.com/5pecia1/ECC-main.git
  2. cd & install requirements
    cd ECC-main
    pip3 install -r requirements.txt

Service

각 서비스 설정법은 링크를 참고하세요.

Slack

  1. Create new app
  2. Set slack app
  3. make slash command

Project

  1. make settings_secret.py
    SLACK_APP_TOKEN = # Install App -> OAuth Access Token
    SLACK_VERIFICATION_TOKEN = # Basic Information -> Verification Token
    
    SLACK_CLIENT_ID = # Basic Information -> Client ID
    SLACK_CLIENT_SECRET = # Basic Information -> Client Secret
    TEST_ADDRESS = # Django host:port name
    
    HOST = # Raspberry Pi host
    PORT = # Raspberry Pi port
    
    REDIRECT_URI = # Google App Redirect Uri

Running

  1. run server

    python3 manage.py runserver 0.0.0.0:8000
  2. install slack app(Authorize)

    http://serverDomain:port/main/slack/add

  3. set Redirect URLs

Develop

  • IDE내의 Pylint플러그인 사용 적극 권장 (pep8문제가 없어야 합니다.)

ecc-main's People

Contributors

5pecia1 avatar clianor avatar kokihoon avatar naviq avatar

Watchers

 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.