RailsApps / rails_apps_composer

A gem with recipes to create Rails application templates for Rails starter apps.
http://railsapps.github.io/rails_apps_composer/
1.42k stars 306 forks source link

Deployment with Capistrano3 #295

Closed zealot128 closed 10 years ago

zealot128 commented 10 years ago

I am using Capistrano for all smaller fun apps. Especially the newer 3.0 version is nice to use and I'd like to see it in the Rails Apps Composer.

Rails Apps Composer is really awesome and already saved me a couple of hours and menial work :)!

DanielKehoe commented 10 years ago

Very happy to have contribution.

zealot128 commented 10 years ago

@DanielKehoe do you thing, adding recipes for background worker (e.g. sidekiq, resque + integration with this capistrano) would make sense? What about cronjobs (Whenever, including side-integration with capistrano too)?

DanielKehoe commented 10 years ago

I'm sure developers would appreciate the additional options. I'm concerned about the dependency on Redis (but I haven't given it much further thought).

Let me take this opportunity to emphasize the importance of maintaining any options you add. I only maintain the options I need for the RailsApps examples. Over time, many developers have added options but few have made a commitment to monitor and maintain what they've contributed. There's now a lot of cruft in the "build your own" option.

One way to make sure your favorite options stay current is to create your own example app containing your favorites. I can add it to "contributed applications" if you like.

zealot128 commented 10 years ago

I totally understand. What kind of cruft are you referencing? Maybe I can help out a little - at least with the Gems I use myself.

DanielKehoe commented 10 years ago

That'd be great. It's probably easiest to build a reference app with the options you like and make sure they all work. You can set up defaults and then rebuild the app periodically to check if everything is still good.

Hard to say what is cruft but probably Mongoid, various test options like machinist, who knows.