No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
SQLite Runner for Mumuki
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Build Status Code Climate Test Coverage

Mumuki Sqlite Runner

SQLite Runner for the Mumuki Platform, based on Leandro Di Lorenzo's MQL project.

Install

Clone the Project

$ git clone https://github.com/mumuki/mumuki-sqlite-runner
$ cd mumuki-sqlite-runner

Install Ruby Environment

Install rbenv

# install ruby
$ rbenv install 2.3.1
$ rbenv rehash

# install bundle gem
$ gem install bundler

# install project dependencies
$ bundle install

Install Docker Environment

Install Docker

Verify docker installation

$ sudo docker run hello-world

Allow docker run without root privileges

# Create the docker group
$ sudo groupadd docker

# Add your user to the docker group.
$ sudo usermod -aG docker [your-user]

Log out and log back in SO that your group membership is re-evaluated.

Then Verify that you can run docker commands without sudo.

$ docker run hello-world

Pull docker container

$ docker pull mumuki/mumuki-sqlite-worker

Run Tests

$ bundle exec rspec

Run the Server

$ bundle exec rackup -p 4567

If you need to verify that runner is running, open your web browser and go to http://localhost:4567/info. You should see a JSON response like this (but more extensive):

{
  "name": "sqlite",
  "version": "0.1",
  "language": {
    "name": "sqlite",
    "version": "v0.2.2"
  },
  "url": "http://localhost:4567/info"
}