Sha256: 9446155ece7b14d11d25111a2994df68bd0254ec9ad50033d14f189f75a4c3a5

Contents?: true

Size: 1.62 KB

Versions: 32

Compression:

Stored size: 1.62 KB

Contents

# MagicRecipes

Some capistrano-recipes for our deployment .. still in development!

Code is inspired by:

- [Ryan Bates](https://github.com/ryanb) .. [railscast #337](http://railscasts.com/episodes/337-capistrano-recipes) = some of the recipes

- [Sergey Nartimov](https://github.com/lest/capistrano-deploy) = the load mechanism


## Usage

add magic_recipes to your Gemfile
```ruby
gem 'magic_recipes', :require => nil
```

install the gem
```ruby
$ bundle install
```

run the generator
```ruby
$ rails g magic_recipes:capify
```

edit 'config/deploy'

enjoy some magic!


## ToDo´s

- add tests (rspec+cucumber)
- make expect-cap-task (bin/*_cap)
- **improve:** passenger, unicorn rbenv, postgesql, nodejs, gems, db, git, rvm
- **add:** puma, varnish, search-stuff, vps-stuff


## Ready

and in use .. but not tested

- nginx
- thin
- assets
- private_pub ... needs [nginx_tcp_proxy_module](https://github.com/yaoweibin/nginx_tcp_proxy_module) for nginx
- *sqlite* ... this is more for test & try pupose (save .sqlite and copy to current after deploy)


## More .. ( special feature )

There's also an Except-Script (bin/git_cap) which is great if you use a private-git-repository ... so you don't need to provide your git-username and git-password twice every deploy.

**Usage**

```ruby
$ rails g magic_recipes:git_cap 				# => from app folder .. copy git_cap file
$ git_cap git_name git_password 				# => from app folder .. start silent depoy
```

or add an alias in ~/.profile | ~/.bash_rc
```ruby
alias git_deploy='./git_cap git_name git_password'
```

and start with
```ruby
$ git_deploy
```

### Licence
This project rocks and uses MIT-LICENSE.

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
magic_recipes-0.1.17 README.markdown
magic_recipes-0.1.16 README.markdown
magic_recipes-0.1.15 README.markdown
magic_recipes-0.1.14 README.markdown
magic_recipes-0.1.13 README.markdown
magic_recipes-0.1.11 README.markdown
magic_recipes-0.1.10 README.markdown
magic_recipes-0.1.9 README.markdown
magic_recipes-0.1.8 README.markdown
magic_recipes-0.1.7 README.markdown
magic_recipes-0.1.6 README.markdown
magic_recipes-0.1.5 README.markdown
magic_recipes-0.1.4 README.markdown
magic_recipes-0.1.3 README.markdown
magic_recipes-0.1.2 README.markdown
magic_recipes-0.1.1 README.markdown
magic_recipes-0.1.0 README.markdown
magic_recipes-0.0.29 README.markdown
magic_recipes-0.0.28 README.markdown
magic_recipes-0.0.27 README.markdown