更简单、更快速的 Capistrano 部署
Recap is an opinionated set of Capistrano deployment recipes, that use git's strengths to deploy applications and websites in a fast and simple manner.
releases, current or shared directories are created, avoiding unnecessary sym-linking.bundle:install task only runs if the app contains a Gemfile.lock file and it has changed since the last deployment.env, env:set and env:edit make setting and changing these variables easy.For more information, the main documentation can be found at http://gofreerange.com/recap/docs.
sudoThe source code is available on Github.
Run the following commands from the checked out project directory.
Install dependencies (assumes the bundler gem is installed).
$ bundle install
Run specs
$ bundle exec rake
Install VirtualBox - only necessary if you want to run Cucumber features.
Install and provision a test VM based on the Vagrantfile (assumes VirtualBox is installed)
$ bundle exec vagrant up
Run features
$ bundle exec cucumber
This defaults to publishing to gofreerange.com but that can be customised by setting the RECAP_DOCS_HOST environment variable.
The fl-rocco gem relies on the pygments Python package being installed (pip install pygments); more specifically the pygmentize binary being available in the PATH.
$ bundle exec rake doc publishNOTE. The recap docs rely on a rocco.css file being available at #{RECAP_DOCS_HOST}/stylesheets/rocco.css. This was added to our site in e41bac
Recap was written by Tom Ward and the other members of Go Free Range.
Recap is released under the MIT License.
暂无开放 Issues,或尚未同步最近议题。