Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

AppMaintainers/chef-rails-dev-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project automates the setup of a development environment for Ruby on Rails development. It also includes numerous other web development tools to help node.js and meteor projects.

The VirtualBox version is publicly accessible on the VagrantCloud as DevBox. If you just need a box, start here.

This tool is made by the App Maintainers team and uses Chef and Vagrant to automate the process.

Passwords

  • linux: root = "vagrant"
  • mysql: root = ""
  • posgresql: postgres = ""
  • posgresql: vagrant = ""

Sample Vagrant file

Vagrant.configure("2") do |config|
  config.vm.box       = 'devbox-2-1-0'
  config.vm.box_url   = 'chef-rails-dev-box/builds/devbox-2-1-0.box'
end

Running services

  • PostgreSQL
  • MySQL
  • MongoDB
  • Redis
  • Memcache

Installed rubies

  • ree-1.8.7
  • ruby-1.8.7
  • ruby-1.9.3
  • ruby-2.0.0
  • ruby-2.1.1

Other tools installed

  • ImageMagick
  • git
  • Midnight Commander alias mc
  • SQLite
  • NodeJS
  • PhantomJS
  • RVM
  • curl

TODO

  • using Veewee for base box creation
  • mysql server auto start
  • ElasticSearch
  • elasticsearch proper config(it seems not working out of the box)
  • vim setup in the box (file provisioning is the solution)

Requirements

How To Build The Virtual Machine

Building the virtual machine is this easy:

host $ git clone https://github.com/AppMaintainers/chef-rails-dev-box.git
host $ cd chef-rails-dev-box
host $ bundle install
host $ cd chef
host $ librarian-chef install (or bundle exec librarian-chef install)
host $ vagrant up
host $ cd ../
host $ vagrant package --output builds/devbox-2-1-x.box --vagrantfile builds/Vagrantfile

Userful

About

Yet another rails-dev-box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%