Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Sprout wrap for the Cloud API team

License

Apache-2.0, Unlicense licenses found

Licenses found

Apache-2.0
LICENSE
Unlicense
UNLICENSE
Notifications You must be signed in to change notification settings

cloudfoundry-attic/sprout-capi

THIS REPOSITORY HAS BEEN DEPRECATED

The current approach to solving this problem is https://github.com/cloudfoundry/capi-workspace


Historical README:

sprout-wrap

Build Status

This project uses soloist and librarian-chef to run a subset of the recipes in sprout's cookbooks.

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 Command Line Tools

xcode-select --install

If you receive a message about the update server being unavailable and are on Mavericks, then you already have the command line tools.

2. Clone this project

git clone https://github.com/cloudfoundry/sprout-capi.git
cd sprout-capi

3. 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
bundle

If you receive errors like this:

clang: error: unknown argument: '-multiply_definedsuppress'

then try downgrading those errors like this:

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future bundle

If you have trouble with Postgres, you may have incompatible versions of Postgres already installed on your machine. You can confirm this by looking at /usr/local/var/postgres/server.log. Most likely, you'll have to remove any sign of existing postgres versions:

rm -rf /usr/local/var/postgres/*
rmdir /usr/local/var/postgres
brew uninstall postgres
brew update && brew install postgres

4. Run soloist

[The caffeinate command will keep your computer awake while installing; depending on your network connection, soloist can take from 10 minutes to 2 hours to complete.]

caffeinate bundle exec soloist

5. Optionally run other commands to set up workstation

There are a number of functions and aliases that are installed into a workstation by sprout. After it succeeds, one may want to run the following commands:

recreate_bosh_lite

Caveats

Homebrew

  • Homebrew cask has been integrated with Homebrew proper. If you are experiencing problems installing casks and have an older installation of Homebrew, running brew uninstall --force brew-cask; brew update should fix things.
  • If you are updating from an older version of sprout-wrap, your homebrew configuration in soloistrc might be under node_attributes.sprout.homebrew.formulae and node_attributes.sprout.homebrew.casks. These will need to be updated to node_attributes.homebrew.formulas (note the change from formulae to formulas) and node_attributes.homebrew.casks.

Roadmap

See Pivotal Tracker: https://www.pivotaltracker.com/s/projects/884116

Discussion List

Join sprout-users@googlegroups.com if you use Sprout.

References

About

Sprout wrap for the Cloud API team

Resources

License

Apache-2.0, Unlicense licenses found

Licenses found

Apache-2.0
LICENSE
Unlicense
UNLICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages