Code Monkey home page Code Monkey logo

nutella_framework's Introduction

Gem Version Build Status Code Climate

nutella is a framework to build and run Macroworlds. It's still very under development so any help finding and fixing bugs will be greatly appreciated!

Installing

Nutella is written in ruby but it leverages a bunch of other technologies that need to be installed. You will need:

  1. ruby (version >= 2.1.0). Do yourself a favor and use RVM to install Ruby.
  2. git (version >= 1.8.0). Do yourself a favor and use Homebrew to install git, if you are on OSX.
  3. tmux (version >= 1.8.0). Do yourself a favor and use Homebrew to install tmux, if you are on OSX.
  4. node.js (version >= 0.10.0). Yes, really, you need to install node becaue we use it to run the broker that handles all communications between all the pieces of the framework. Do yourself a favor and use nvm.
  5. mongoDB (optional). You'll need mongoDB if you want to use it with nutella.persist.

Once you have all of these, to install nutella simply do:

gem install nutella_framework

Once the installation is complete you should be able to type nutella in your shell and get a welcome message.

nutella checkup

If you are reading this you probably already saw the warning: "Looks like this is a fresh installation of nutella. Please run 'nutella checkup' to check all dependencies are installed".

nutella is written in ruby but it's designed to run bots and interfaces written in virtually any programming language. All communications among these components are handled by an MQTT broker which needs to be installed (together with its dependencies) before nutella can actually work correctly. Therefore right after your install nutella you should run:

nutella checkup

This will install the Mosca MQTT broker and make sure all the dependencies required by nutella are installed as well.

Congratulations! nutella is ready to use!

Where next?

If you already have an application you want to tinker with (like RoomQuake) simply checkout the application to a local folder, cd /to/my/local/folder and start tinkering away. Not sure how? Check out the man page for the nutella command line tool.

If you want to create your own application, hold on tight, a tutorial is coming soon.

Building (for contributors)

Clone the repo, bundle install to take care of the dependencies and then rake to run all the tests. If you want to build and install the gem just rake install. If you want a list of available build tasks, simply type rake -T.

nutella_framework's People

Contributors

gianluca-venturini avatar tebemis avatar teopalva avatar

Stargazers

 avatar

Watchers

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