logo       

Re: Different configuration for dev/test/prod: msg#00133

lang.ruby.capistrano.general

Subject: Re: Different configuration for dev/test/prod


On Dec 19, 8:11 am, Gregory Seidman <gsslist
+capistr...-dNXPQ6k9rNiG6BJUYyje5axOck334EZe@xxxxxxxxxxxxxxxx> wrote:
> On Wed, Dec 19, 2007 at 08:06:37AM -0800, Joe Van Dyk wrote:
>
> > On Dec 19, 7:29 am, Gregory Seidman <gsslist
> > +capistr...-dNXPQ6k9rNiG6BJUYyje5axOck334EZe@xxxxxxxxxxxxxxxx> wrote:
> [...]
> > > What I'd like is to have a dev, test, and prod namespace in which all of
> > > the deploy namespace is included, with overrides as necessary. Then I'd
> > > cap
> > > dev:deploy or cap test:deploy:restart or the like. Is there a way to
> > > import
> > > one namespace into another?
>
> > > --Greg
>
> > I have staging environment, not development, but same should work:
> [...]
> > Run like:
> > $ cap production deploy:start
> > $ cap staging deploy:restart
> > $ etc
>
> That's perfect! Thanks!
>
> --Greg

I saw the technique in "The Rails Way" book.
http://www.amazon.com/Rails-Way-Addison-Wesley-Professional-Ruby/dp/0321445619
It's an incredible book, I've been working with Rails for a couple
years, and there's a lot of cool stuff in that book that I didn't know
yet. It seems to cover virtually every aspect of making a complex
Rails site.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise