|
Different configuration for dev/test/prod: msg#00125lang.ruby.capistrano.general
I'm trying to figure out the best approach to having different configurations for when I'm deploying to a development machine (just a single mongrel running from a directory in my home directory), a production machine (service script via sudo to start mongrel cluster, deployed to a directory under /var/www, maybe multiple machines), or a test machine (same as prod, but a different machine). I don't think roles are the right approach. I could have different config files and load the right file based on a -S variable or with a -F flag, but that's kind of ugly. 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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: set :user being ignored?: 00125, Jamis Buck |
|---|---|
| Next by Date: | Feeling depressed : Read these Motivational articles, books and listen to spiritual and relaxing music or Start Yoga: 00125, P K Kothari |
| Previous by Thread: | christmas soon...i: 00125, janijohnetta-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx |
| Next by Thread: | Re: Different configuration for dev/test/prod: 00125, Joe Van Dyk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |