Code Monkey home page Code Monkey logo

open-source-edu-bot's Introduction

Push Container to Heroku License: MIT

Open Source Education Bot

Open Source Education Bot built by the Facebook Developer Circles community to help members contribute to open source projects.

Installation

requirement: python 3.6 or later

Start by cloning the repository localy and enter into the project folder.

git clone https://github.com/fbdevelopercircles/open-source-edu-bot
cd open-source-edu-bot

Using a virtual environment:

python3 -m venv venv

on Windows

py -3 -m venv venv

Activate the environment

Copy the environments file and adapt it:

cp .sample.env .env

Before you work on your project, activate the corresponding environment:

. venv/bin/activate

On Windows:

venv\Scripts\activate

Your shell prompt will change to show the name of the activated environment.

Install the require python package

pip install -r requirements.txt

Export environment varialbes

export FLASK_APP fbosbot
export FLASK_RUN_HOST 0.0.0.0
export FLASK_ENV development

**Compile de localisation files

cd src
pybabel compile -d locales

To start the application localy run

flask run

Using Docker and docker-compose:

If you have docker and docker-compose installed in your computer, just run

docker-compose up -d

Check your webhook with this command

curl -X GET "<YOUR HOST>/webhook?hub.verify_token=<YOUR VERIFY TOKEN>&hub.chalenge=CHALLENGE_ACCEPTED&hub.mode=subscribe&init_bot=true"

Contributors

PRs Welcome

Check the contributions graph here.

License

Open Source Education Bot is MIT licensed.

open-source-edu-bot's People

Contributors

aboullaite avatar elinguiuriel avatar hieuh01 avatar vinitshahdeo 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.