Documentation for Spring Cloud Services Product
(See also: “Streamlined Development Workflow” in pivotal-cf/docs-book-pivotalcf.)
- On OS X, install Xcode Command Line Tools:
xcode-select --install
- Install rbenv, ruby 2.0.0-p481, bundler, and bookbindery:
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
# Install Ruby and bookbinder
rbenv install 2.0.0-p481
rbenv global 2.0.0-p481
gem install bookbindery
- Clone this repo,
docs-book-pcfservices
, anddocs-layout-repo
.
git clone [email protected]:pivotal-cf/docs-spring-cloud-services.git
git clone [email protected]:pivotal-cf/docs-book-pcfservices.git
git clone [email protected]:pivotal-cf/docs-layout-repo.git
- Update the main docs site:
cd docs-book-pcfservices
bookbinder bind local
- Run the site locally:
cd final_app
rackup
- Repeat the last two steps when you make changes to docs-spring-cloud-services.
In docs-book-pcfservices:
- /master_middleman/source/subnavs/spring_cloud_subnav.erb
In docs-spring-cloud-services:
- All files from the root of this repo