Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 2.43 KB

README.md

File metadata and controls

60 lines (37 loc) · 2.43 KB

sprout-wrap

Build Status

This project uses soloist and librarian-chef to run a subset of the recipes in sprout's [cookbooks]((https://github.com/pivotal-sprout/sprout).

Fork it to customize its attributes in soloistrc and the list of recipes you'd like to use for your team. You may also want to add other cookbooks to its Cheffile, perhaps one of the many community cookbooks. By default it configures an OS X Mavericks workstation for Ruby development.

Finally, if you've never used Chef before - we highly recommend you buy & watch this excellent 17 minute screencast by Ryan Bates.

Installation under Mavericks (OS X 10.9)

1. Install XCode

Xcode - Apple

Don't forget to start up Xcode once it's installed so that you can agree to the terms—many commands won't work until the terms have been agreed to.

2. Install Command Line Tools

Download from Apple Downloads

3. Install JDK 7

Oracle JDK 7

4. Create / install your public key, and ensure it has access to the panomira-api-ror repository.

5. Clone this project

git clone https://github.com/sovolve/sprout-wrap-rails.git
cd sprout-wrap-rails

6. Install soloist & and other required gems

If you're running under rvm or rbenv, you shouldn't preface the following commands with sudo.

sudo gem install bundler
sudo bundle

7. Run soloist

[You may want to modify your Energy Saver preferences (System Preferences → Energy Saver → Computer Sleep → 3hrs) because soloist usually takes 2-3 hours to complete.]

bundle exec soloist

8. Run the rails app

cd ~/workspace/panomira-api-ror
. ~/.bash_profile
rbenv rehash
gem install bundler
rbenv rehash
bundle install
rails s # Starts the rails server.