Coder Social home page Coder Social logo

rwbox's Introduction

RWBox

Vagrant images for Ruby and ROR developers. Vagrant uses Oracle’s VirtualBox or VMware to build configurable, lightweight, and portable virtual machines dynamically.

RWBox contains:

  • RVM with compiled Ruby 2.0.0-p645, 2.1.6, 2.2.2
  • MySQL, PostgreSQL, Redis and Memcached
  • Dev libs for pg, mysql2, rmagick, curb and another gems

How to install

  1. Install Oracle’s VirtualBox
  2. Install Vagrant
  3. Next just execute in terminal commands:

Ubuntu 14.04

$ vagrant init leopard/rwtrusty64

OR (for Vagrant < 1.5):

$ vagrant box add rwtrusty64 http://rwbox.catware.org/rwtrusty64/1.0.0/rwtrusty64.box

Ubuntu 12.04

$ vagrant init leopard/rwprecise64

OR (for Vagrant < 1.5):

$ vagrant box add rwprecise64 http://rwbox.catware.org/rwprecise64/1.0.0/rwprecise64.box

Credentials

  • MySQL:
    • root/vagrant
    • vagrant/vagrant
  • PostgreSQL:
    • postgres/vagrant
    • vagrant/vagrant

Usage

Box usage

Basic setup of image:

$ vagrant init leopard/rwtrusty64
$ vagrant up

Now you can use ssh to login into environment:

$ vagrant ssh

Suspending the environment:

$ vagrant suspend

To resume working:

$ vagrant resume

Halting the environment:

$ vagrant halt

Destroying the environment:

$ vagrant destroy

Port forwarding

Ports form this list are forwarded by default:

3000 => 3100
1080 => 1180

NOTICE: if you'll start mailcatcher gem and want to see mailcatcher inbox from outside – don't forget to use --ip option.

Development

Box setuped by Chef-Solo. For creating package you can use command:

$ vagrant package --output rwtrusty64.box --vagrantfile Vagrantfile.box
// or
$ vagrant package --output rwprecise64.box --vagrantfile Vagrantfile.box

rwbox's People

Contributors

g3d avatar kzaitsev avatar le0pard avatar

Watchers

 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.