Skip to content

DrewDahlman/Vagrant-Quick-Start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

##Vagrant Quick Start A quick setup for rails apps using Vagrant & Puppet for rails projects. Vagrantup.sh will download a base Vagrantfile as well as a puppet directory. It will also setup your development and production database.yml file as well as other tedious setup steps.

##Required

  1. Get and install VirtualBox: https://www.virtualbox.org/wiki/Downloads

  2. Install Vagrant: gem install vagrant

  3. Install vagrant-vbguest to stop Vagrant complaining about guest addition version: gem install vagrant-vbguest

##To Use

  1. cd to rails app directory

  2. Place vagrantup.sh in the root of the directory.

  3. In terminal enter chmod a+x vagrantup.sh

  4. ./vagrantup.sh This will grab a Vagrantfile & Puppet from s3 and get you rolling.

Vagrantup.sh will ask you about your Application and Database and will dynamically create your puppet file, databases, users and get everything ready for Development and Production Environments.

##Running Vagrant After you have run vagrantup.sh you're free to:

vagrant up

vagrant ssh

bundle install

rbenv rehash

rails s

About

A quick setup of vagrant and puppet for rails apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages