Deploying merb. Totally newbie needs some pointers

2 views
Skip to first unread message

dev2

unread,
Sep 1, 2010, 12:03:44 AM9/1/10
to merb
Well, maybe more than pointers.
I have experimented with git but I'm a beginner at best. I've never
used nginx or capistrano. These are packages that I expect might be
related to deploying an app. Its just to a single server. I can't
seem to find a recent tutorial or guide to doing this so if somebody
knows of one that is known to be reliable, I'd love to know about it
and I can go from there. Thanks for any information you can
provide. :)

MarkMT

unread,
Sep 3, 2010, 10:42:06 PM9/3/10
to merb
I think I started with this -

http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/

though I personally keep my git repo on my development machine and use
-

set :deploy_via, :copy
set :copy_strategy, :export

Michishige Kaito

unread,
Sep 4, 2010, 3:05:39 PM9/4/10
to me...@googlegroups.com
I use pure git for deployment. Capistrano & co have proven to be way
over complicated to me. The remote end is a git repo with a branch
"production" or whatever checked out. Whenever I push to the checked out
branch, a hook updates the files and instructs the server to reload. I
use Passenger, so it's a matter of "touch tmp/restart.txt".

You can do a lot more with Git than people suspect.

I was trying to find the hook file, but it seems to have gotten lost
somewhere =)

pedro mg

unread,
Sep 6, 2010, 5:45:04 PM9/6/10
to me...@googlegroups.com
Hi,

On Sep 4, 2010, at 8:05 PM, Michishige Kaito wrote:

> dev2 wrote:
>> Well, maybe more than pointers.
>> I have experimented with git but I'm a beginner at best. I've never
>> used nginx or capistrano. These are packages that I expect might be
>> related to deploying an app. Its just to a single server. I can't
>> seem to find a recent tutorial or guide to doing this so if somebody
>> knows of one that is known to be reliable, I'd love to know about it
>> and I can go from there. Thanks for any information you can
>> provide. :)
>>
>>
> I use pure git for deployment. Capistrano & co have proven to be way over complicated to me. The remote end is a git repo with a branch "production" or whatever checked out. Whenever I push to the checked out branch, a hook updates the files and instructs the server to reload. I use Passenger, so it's a matter of "touch tmp/restart.txt".

So you define "remotes" for your production "repo"'s ? Interesting.

> You can do a lot more with Git than people suspect.


git is incredibly well engineered.


pedro mg
http://blog.tquadrado.com

Reply all
Reply to author
Forward
0 new messages