Giter Site home page Giter Site logo

rochi88 / lemur-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skpaul82/lemur-engine

0.0 0.0 0.0 9.59 MB

PHP Laravel, MySQL and AIML chatbot engine and admin portal

Home Page: https://lemurengine.com

License: MIT License

Shell 0.06% Python 0.56% PHP 67.21% Makefile 0.04% HTML 12.73% Blade 19.40%

lemur-engine's Introduction

Lemur Engine

The Lemur Engine is a PHP/MySQL/AIML Chatbot. Written using the Laravel Framework.

Demo

You can demo the bot at the website:

https://lemurengine.com

Quick Start

The Lemur Engine is written in Laravel so you can just bring her up as you would any Laravel project.

If you would prefer to use the included Vagrant method then follow the instructions below.

Prerequisites

You will need the following installed on your machine to run the Lemur Engine locally.

  • Virtual Box
  • Vagrant

Dont forget to install the hostupdater plugin

vagrant plugin install vagrant-hostsupdater

Follow the steps below to set this up on your machine.

Step One
Copy .env.sample to .env and fill in the details.

The .env.sample file has already has the default vagrant DB settings.

You may need to change these to match your settings.

DB_CONNECTION=lemurengine
DB_HOST=127.0.0.1
DB_PORT=3306    
DB_DATABASE=testing
DB_USERNAME=root
DB_PASSWORD=secret
Step Two

Create an entry in your /etc/hosts file

192.168.10.10 lemurengine.local
Step Three

Start the server, login and go to the root directory

vagrant up
vagrant ssh
cd /vagrant
Step Four

Create the database - the login details below are the default vagrant mysql settings. In this example the database is called 'lemurengine'.

mysql -uroot -psecret
create database lemurengine;
Step Five

On the VM inside the /vagrant directory run composer to install the dependencies.

cd /vagrant
COMPOSER_MEMORY_LIMIT=-1 composer install
Step Six

On the VM inside the /vagrant directory and run the following commands to set up Laravel

cd /vagrant
php artisan key:generate
php artisan migrate:fresh --seed
php artisan storage:link

If you encounter a symlink() error when running the last command then exit the vm and try to run the same command from the project root in the host machine.

You should now be able to access Lemur Engine locally on http://lemurengine.local

Access

The default local url is http://lemurengine.local

You should be able to log in as an admin the following:

User: [email protected]
Password: password

Change this password either directly using tinker. Or using the forgotten email feature at the front of the site.

Full Documentation

Read the Lemur Docs here:

https://docs.lemurengine.com

Testing

To run the tests on the VM type

cd /vagrant
php artisan test --testsuite=All    

Development

If you would like to contribute to this project please read the guidelines set out in CONTRIBUTING.md

lemur-engine's People

Contributors

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