Giter Club home page Giter Club logo

electric-brain's Introduction

Electric Brain

Installation

Thank you for downloading Electric Brain!

Dependencies

Electric Brain has several major dependencies:

  • NodeJS >= 4.2.6
  • MongoDB >= 2.6
  • RabbitMQ
  • TensorFlow
  • Graphviz
  • SQLLite3

Installation of these four tools will vary greatly depending on your platform.

Ubuntu 16.04

On Ubuntu 16.04, several of the required tools can be installed with their required versions very easily from the mainline package repository.

user@machine:~$ sudo apt install mongodb rabbitmq-server graphviz git build-essential libsqlite3-dev python3-pip -y

Tensorflow must be install separately, using Pip.

user@machine:~$ sudo pip3 install tensorflow

After installing Tensorflow, you will need to manually install several Electric Brain dependencies in Lua via luarocks:

user@machine:~$ sudo luarocks install json
user@machine:~$ sudo luarocks install distlearn
user@machine:~$ sudo luarocks install ipc
user@machine:~$ sudo luarocks install rnn
user@machine:~$ sudo luarocks install underscore
user@machine:~$ sudo luarocks install luasocket
user@machine:~$ sudo luarocks install lsqlite3

Now you can finally install Electric Brain via NPM. It must be installed globally using the -g command

user@machine:~$ sudo npm install electricbrain -g

Operation

The Electric Brain infrastructure is divided into two components, the API and frontend application server, and backend workers which do processing. Both of them are required for Electric Brain to function properly, and they both require connections to RabbitMQ and MongoDB. You can have as many of each running as you want.

To run the API server, simply run:

user@machine:~$ ebapi

To run the worker, simply run:

user@machine:~$ ebworker

You can also run an all-in-one application server using:

user@machine:~$ ebapplication

electric-brain's People

Contributors

genixpro avatar shahsibushan avatar

Watchers

 avatar

Forkers

hardikchheda46

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.