Skip to content

naidu72/solo_wizard

 
 

Repository files navigation

SoloWizard

This is the code for the solowizard.com web application.

tl;dr: With SoloWizard, you are a few clicks away from a configurable chef script for your OS-X development machine.

Many teams use chef to manage their production machines, but developers often build their development boxes by hand. SoloWizard makes it painless to create a configurable chef solo script to get your development machine humming: mysql, sublime text, .bash_profile tweaks to OS-X settings - it's all there!

Running it locally

Pull down the solo_wizard source code and bundle

git clone [email protected]:tommyh/solo_wizard.git

cd solo_wizard

# accept the rvm version

gem install bundler --no-ri --no-rdoc
bundle install

rake db:migrate

Run a full build (rspec & cucumber) and confirm it passes:

rake

Seed your development database (this requires internet access):

thor solo_wizard_tasks:create_and_update_recipes_from_github
thor solo_wizard_tasks:update_optional_metadata

Start your server:

rails s

Optional: If you'd like to use foreman, which is used in production, skip "rails s" and perform the following:

cp .env-example .env
foreman start

Notes

  • thor solo_wizard_tasks:create_and_update_recipes_from_github is run as a cron task every 10 minutes, so the recipes stay up to date.

Special thanks

SoloWizard is built ontop of 3 popular and well supported open source projects: Chef Solo, the pivotal_workstation cookbook, and the soloist gem.

Aliza Hallett (my wife) for creating the css.

Copyright

Copyright © 2012 Tom Hallett. See MIT-LICENSE for details.

About

The web application for solowizard.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 81.7%
  • HTML 9.9%
  • CSS 4.9%
  • Gherkin 1.5%
  • JavaScript 1.2%
  • Shell 0.8%