smalruby-editor¶ ↑
<img src=“https://badge.fury.io/rb/smalruby-editor.png” alt=“Gem Version” /> <img src=“https://travis-ci.org/smalruby/smalruby-editor.png?branch=master” alt=“Build Status” /> <img src=“https://coveralls.io/repos/smalruby/smalruby-editor/badge.png?branch=master” alt=“Coverage Status” /> <img src=“https://codeclimate.com/github/smalruby/smalruby-editor.png” /> <img src=“https://gemnasium.com/takaokouji/smalruby-editor.png” alt=“Dependency Status” />
The smalruby-editor is a visual programming editor that can create a Ruby script by combining individual blocks similar to Scratch. It can also enter the program as better than Scratch.
-
DEMO: smalruby.herokuapp.com/demo/
-
DEMO(Arduino): smalruby.herokuapp.com/demo/rgb_led_anode/
The smalruby-editor is a part of the Smalruby (smalruby.jp) Project.
The Smalruby(smɔ́ːrúːbi) Project will provide a Ruby learning environment for middle school students from the upper grades of elementary school. The goal of this project is to achieve software and community sites such as the Scratch in Ruby. The Scratch has experience as educational programming environment can be used in elementary school. This project consists of the following elements.
Installation (for User)¶ ↑
Windows(only Japanese): github.com/smalruby/smalruby-installer-for-windows/wiki
requirements:
-
Windows or UNIX like OS (Mac OS X, Linux, etc…)
-
Ruby 2.0.0-p353 or higher.
-
dxruby_sdl (only Mac OS X and Linux): github.com/takaokouji/dxruby_sdl/
-
rsdl (only Mac OS X): www.kumaryu.net/proj/ruby-rsdl/
execute below commands.
gem install smalruby-editor smalruby-editor
Installation (for Developer)¶ ↑
requirements:
-
Windows or UNIX like OS (Mac OS X, Linux, etc…)
-
Ruby 2.0.0-p353 or higher.
-
MySQL
-
Git
execute below commands.
git clone https://github.com/smalruby/smalruby-editor.git cd smalruby-editor bundle cp config/database.yml.mysql2 config/database.yml rake db:create rake db:migrate rake touch tmp/standalone rails server
access localhost:3000
with your web browser.
Contributing¶ ↑
-
Fork it
-
Create your feature branch (
git checkout -b my-new-feature
) -
Commit your changes (
git commit -am 'Add some feature'
) -
Push to the branch (
git push origin my-new-feature
) -
Create new Pull Request
License¶ ↑
MIT (see LICENSE)