Skip to content

Tutorial on how to use Vagrant+Chef to automatically deploy a redmine development VM

Notifications You must be signed in to change notification settings

dergachev/vagrant_redmine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Redmine

We will install deploy Redmine 2.3 using nginx, unicorn, bundler, ruby 1.8.7. Tested on Vagrant and precise64.box.

Installation

Install dependencies:

  gem install librarian --no-rdoc --no-ri
  gem install gusteau
  vagrant plugin install gusteau
  vagrant plugin install vagrant-omnibus
  # vagrant plugin install vagrant-cachier

Setup the project directory:

git clone https://github.com/dergachev/vagrant_redmine.git
cd vagrant_redmine
# install dependent cookbooks to ./cookbooks
librarian-chef install

vagrant up 
vagrant ssh -- 'sudo apt-get update; sudo apt-get install curl git vim -y'
gusteau converge production-vagrant

If everything works, then your Redmine installation will be available on http://localhost:8080/.

Developing chef_redmine cookbook

Because librarian-chef install completely destroys the ./cookbooks/ directory, you're better of manually placing chef_redmine into ./site-cookbooks if you're going to hack on it:

mkdir -p site-cookbooks/
git clone git://github.com/dergachev/chef_redmine.git site-cookbooks/redmine

For additional info, see the README and code at @dergachev/chef_redmine cookbook.

See NOTES.md for extensive debugging tips and relevant resources.

About

Tutorial on how to use Vagrant+Chef to automatically deploy a redmine development VM

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages