Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a great way to get all of that boilerplate app code out of the way from the start.

However, I recommend taking a look at RailsApps Composer for deeper customization.

https://github.com/RailsApps/rails_apps_composer

It's a snap to use their DSL to write scripts that generate rails templates like this:

https://github.com/wnadeau/rails-application-templates

Using their composer, I wrote my own "Mailchimp" recipe for bootstrapping a Mailchimp integrated app, including twitter bootstap (customized with Mailchimp colors the general taste of their brand), backbonejs, oauth sign-in all from the start.

Not to rain on any parade, this certainly looks good (and I did actually pull down the code and take a peak).

If you like doing this kind of thing, I think you'll be really pleased with something like RailsAppsComposer.



I tried Rails Apps Composer - specifically one of the example apps - https://github.com/RailsApps/rails3-bootstrap-devise-cancan - and it didn't work as advertised.

It seems to have added some of the gems to the gemfile, but for others I had to remove them and re-add them and go through setup manually. Specifically, Devise & CanCan.

Do these composers just add the gems to the Gemfile then you have to configure each manually? If that's the case, I can do that myself.

I was under the impression that these would take you to some 'baseline configuration', then you tweak it from there.

E.g. Once I roll it up, I should have a login screen with an admin and 'dummy' user created that I should be able to login with immediately. Some basic authorizations setup, etc. But that's not how it works.

Maybe I was expecting too much? If it doesn't do that though, then what's the point?

I even had to re-install the Twitter bootstrap to get it to work.


Marc, if you use the app template you'll have a ready-to-run app as soon as "rails new ..." is done. Submit a GitHub issue [1] if it doesn't work; I'll take a look as soon as I can. You can also clone the repo and use that as your reference implementation. Hundreds of Rails developers have used the app; usually any issues are resolved quickly.

[1] https://github.com/RailsApps/rails3-bootstrap-devise-cancan/...


Thanks for reaching out to me Daniel. What do you mean by 'ready-to-run' app? Is it fair to have my expectations that I laid out - i.e. with say an admin & user already created, and maybe one or two authorization rules set up?

Or is that fanciful thinking?

I guess the issue is just a disconnect between what I perceive as this particular template being able to do (based on my impressions from the docs) - and what it actually does.


The app will do as you expect, as described in the README and the tutorial.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: