https://github.com/teohm/capistrano-shared_file
Capistrano recipe to symlink shared files e.g. config/database.yml
https://github.com/teohm/capistrano-shared_file
Last synced: 12 months ago
JSON representation
Capistrano recipe to symlink shared files e.g. config/database.yml
- Host: GitHub
- URL: https://github.com/teohm/capistrano-shared_file
- Owner: teohm
- License: mit
- Created: 2012-05-11T00:59:30.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-08-28T01:31:58.000Z (almost 13 years ago)
- Last Synced: 2025-06-09T13:15:55.840Z (about 1 year ago)
- Language: Ruby
- Size: 131 KB
- Stars: 14
- Watchers: 0
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE.txt
Awesome Lists containing this project
README
= capistrano-shared_file
A Capistrano recipe to symlink shared files e.g. config/database.yml
stored in shared path to release path.
== Install
gem install capistrano-shared_file
For Bundler, add this to your Gemfile:
gem 'capistrano-shared_file'
== Using
Add the following lines to config/deploy.rb:
#set :shared_files, %w(config/database.yml) # optional, as it's the default value
require 'capistrano/shared_file'
== Contributing to capistrano-shared_file
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
* Fork the project.
* Start a feature/bugfix branch.
* Commit and push until you are happy with your contribution.
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
== Copyright
Copyright (c) 2012 teohm. See LICENSE.txt for
further details.