Rails Template to setup a new Hobo project

30 views
Skip to first unread message

Bob Sleys

unread,
Jun 28, 2011, 3:20:22 PM6/28/11
to hobo...@googlegroups.com
I forked the template by Mike Fischer (greendog99) https://github.com/greendog99/greendog-rails-template and modified it to create a hobo app.

Not everything is incorporated yet but ASAIK it works and gits you a decent start to a new Hobo 1.3.0.RC app.


Please let me know how it works for you if you try it out.

Bob

ylluminate

unread,
Jun 28, 2011, 4:45:18 PM6/28/11
to Hobo Users
Wow Bob, thanks for sharing that! Very nice. Will give that a shot.



On Jun 28, 3:20 pm, Bob Sleys <bsl...@gmail.com> wrote:
> I forked the template by Mike Fischer (greendog99)https://github.com/greendog99/greendog-rails-templateand modified it to
> create a hobo app.
>
> Not everything is incorporated yet but ASAIK it works and gits you a decent
> start to a new Hobo 1.3.0.RC app.
>
> My version can be found athttps://github.com/bsleys/hobo-rails-template

ylluminate

unread,
Jun 28, 2011, 6:08:24 PM6/28/11
to Hobo Users
Bob, does this incorporate DRYML? I'm not seeing that in Gemfile and
wondering what kind of interaction we'll get.


On Jun 28, 4:45 pm, ylluminate <yllumin...@gmail.com> wrote:
> Wow Bob, thanks for sharing that!  Very nice.  Will give that a shot.
>
> On Jun 28, 3:20 pm, Bob Sleys <bsl...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I forked the template by Mike Fischer (greendog99)https://github.com/greendog99/greendog-rails-templateandmodified it to

Bob Sleys

unread,
Jun 28, 2011, 11:50:07 PM6/28/11
to hobo...@googlegroups.com
DRYML is part of Hobo no need to specifically include it. Right now I include the HAML, SASS and a few other gems but haven't converted everything over to really make use of them. Basically you get a basic Hobo site with a few extra tweaks at this point.  I need to work on converting stuff over to Compass, its included but not really used. As is paperclip, gem included but I need to include the hobo paperclip extension yet.

So to sum up you get a basic working Hobo app with a few tweaks including the following
  • Removes everything to do with Prototype, and instead includes JQuery.
  • Adds a Gemfile with commonly used gems, and some some optional gems available to un-comment when needed.
  • Creates a custom RVM gemset for the application, and installs all Gems via bundler.
  • Implements automatic log rotation for server logs, based on log size.
  • Adds a config/app_config.yml file and corresponding initializer, to facilitate app-specific config settings.
  • Disables timestamped_migrations to make the filenames more usable in TextMate.
  • Sets up a Git repository complete with gitignore list, and commits the entire project. (hobo wizard)
What I want to include next are the following
  • use compass fully
  • include hobo_paperclip
  • include hobo_jquery
  • use sass for the stylsheets
I don't think I'll bother much with HAML since Hobo makes use of DRYML though HAML and SASS and pretty much joined you'll have it as an option for pages you don't do in DRYML.  More options

Bob

Matt Jones

unread,
Jun 29, 2011, 10:04:27 AM6/29/11
to hobo...@googlegroups.com

On Jun 28, 2011, at 11:50 PM, Bob Sleys wrote:

> DRYML is part of Hobo no need to specifically include it. Right now I include the HAML, SASS and a few other gems but haven't converted everything over to really make use of them. Basically you get a basic Hobo site with a few extra tweaks at this point. I need to work on converting stuff over to Compass, its included but not really used. As is paperclip, gem included but I need to include the hobo paperclip extension yet.
>
> So to sum up you get a basic working Hobo app with a few tweaks including the following
> • Removes everything to do with Prototype, and instead includes JQuery.

Not to be Captain Buzzkill or anything, but this is going to blow up the Rapid stuff pretty spectacularly...

> • Disables timestamped_migrations to make the filenames more usable in TextMate.

I couldn't find any explanation about what exactly this is supposed to mean - it seems like a pretty radical thing to enable just to gain an unspecified benefit (is it *really* that hard to hit Command-T?) in one editor.

--Matt Jones


ylluminate

unread,
Jun 29, 2011, 10:35:47 AM6/29/11
to Hobo Users
Matt, back here (http://groups.google.com/group/hobousers/
browse_thread/thread/4f547600e6b8fa28/3ce594531ac92de9) Tom had
mentioned that it would be nice to pull out the prototype stuff and
replace it with jquery, has that simply not been a possibility or has
anyone explored it since then? Seems that with it's traction and the
hjq work that has gone on since then that this should have been
possible to do if desirable. Just throwing my 2¢ into the ring here
to figure out the why's of this not having been done. (Not that I
have the capacity to yet help in this regard... LOL, but I thought it
was worth the post.)

Domizio Demichelis

unread,
Jun 29, 2011, 10:48:57 AM6/29/11
to hobo...@googlegroups.com
Hobo 1.4 will be rails 3.1 compatible that is based on jQuery by defaults instead of prototype, (plus coffescript, SASS and co.).

ciao
dd

--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.


Matt Jones

unread,
Jun 29, 2011, 10:49:10 AM6/29/11
to hobo...@googlegroups.com

On Jun 29, 2011, at 10:35 AM, ylluminate wrote:

> Matt, back here (http://groups.google.com/group/hobousers/
> browse_thread/thread/4f547600e6b8fa28/3ce594531ac92de9) Tom had
> mentioned that it would be nice to pull out the prototype stuff and
> replace it with jquery, has that simply not been a possibility or has
> anyone explored it since then? Seems that with it's traction and the
> hjq work that has gone on since then that this should have been
> possible to do if desirable. Just throwing my 2¢ into the ring here
> to figure out the why's of this not having been done. (Not that I
> have the capacity to yet help in this regard... LOL, but I thought it
> was worth the post.)
>

It's certainly possible - but the stuff in hobo-rapid.js would need to be re-written. It's not as daunting as it sounds - there are definitely parts that would just go away (quite a few of the utility functions are provided natively by jQuery) but the parts stuff would be somewhat more complicated.

My point was that, right now, running that template will produce a non-working Hobo app since Prototype is still needed...

--Matt Jones

Bob Sleys

unread,
Jun 29, 2011, 11:35:55 AM6/29/11
to hobo...@googlegroups.com
It's easy enough to pull out the removal of the prototype stuff.  Didn't realize it would cause problems with Hobo.

Bob

Bob Sleys

unread,
Jun 29, 2011, 11:41:20 AM6/29/11
to hobo...@googlegroups.com
done

Bob Sleys

unread,
Jun 29, 2011, 12:37:29 PM6/29/11
to hobo...@googlegroups.com
Hobo_jquery and paperclip_with_hobo are now included.

Bob

Owen Dall

unread,
Jun 29, 2011, 1:07:04 PM6/29/11
to hobo...@googlegroups.com
My head is spinning, need time to digest this...
 
Thanks for your efforts, Bob!
 
-Owen

On Wed, Jun 29, 2011 at 12:37 PM, Bob Sleys <bsl...@gmail.com> wrote:
Hobo_jquery and paperclip_with_hobo are now included.

Bob

--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/0-YRIvYPo_cJ.

To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.



--
Owen Dall, Chief Systems Architect
Barquin International
Reply all
Reply to author
Forward
0 new messages