Coder Social home page Coder Social logo

narendrapsgim / opendialog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeaudit/opendialog

0.0 1.0 0.0 7.4 MB

The starting app for building OpenDialog chatbots

Home Page: https://opendialog.ai

PHP 50.93% Vue 44.07% HTML 3.69% Shell 0.96% Dockerfile 0.35%

opendialog's Introduction

CircleCI

OpenDialog - open-source conversational application management system

OpenDialog enables you to quickly build conversational applications.

It provides a web widget that can be styled to specific needs and can be embedded on any website.

You write conversational applications using OpenDialog's flexible conversational language, and define the messages that your bot will send the user through OpenDialog's message markup language.

For all the details of how OpenDialog helps you build sophisticated chatbots visit our documentation site.

Trying out OpenDialog

If you want to see OpenDialog in action you can try out the latest version through our automatically produced Docker image.

As long as you have Docker installed on your local machine you can do:

  • cd docker/od-demo
  • docker-compose up -d app
  • docker-compose exec app bash docker/od-demo/update-docker.sh

You can then visit http://localhost and login to OpenDialog with [email protected] / opendialog

Learning about OpenDialog

To find out more about how OpenDialog works and a guide to building your first conversational application with OpenDialog visit our docs website.

Developing with OpenDialog

To setup a development environment for OpenDialog please check out the OpenDialog development environment repository - it provides step by step instructions for setting up a Docker-based dev environment.

Session Management

Use sessions are handled by the standard Laravel session management systems (as defined in your .env file). By default, this is set to file which will only work as expected when there is a single OpenDialog app server. When there are multiple app servers behind a load balancer, switch to using redis or database as your session management tool. More info can be found in the Laravel Session docs

Continuous Integration

This project comes with a CircleCI (config.yml) file that sets up a basic workflow for the app that:

  • Runs all phpunit tests and stores the code coverage result
  • Attempts to install and build the project's Node dependencies
  • If all of these pass, builds a docker image and sends to docker hub.

For this to run successfully, you will need to set up CircleCI to watch the project in GitHub and add the following environment variables:

  • DOCKER_BUILD - true|false
  • DOCKER_USER - your Docker username
  • DOCKER_PASS - your Docker password
  • DOCKER_PROJECT_NAME - the full project name in DockerHub (eg opendialogai/opendialog)

Docker tag names

By default, the scripts/docker-build.sh script will use either the current branch name, or the tag name if there is one associated with the current commit. Branch names will have / replaced with _ to meet Docker naming convention.

GitHub Token during docker build

If you OpenDialog project has a composer dependency on a private GitHub repo, a local auth.json file can be created and used during the docker build. To do this, just add a value for the environment variable GITHUB_TOKEN in CircleCI

opendialog's People

Contributors

acrollet avatar dependabot[bot] avatar duncanheron avatar elliotmassen avatar istos avatar madanlimbu avatar stu-greenshoots 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.