I Amr,
putting your passwords in your cap deploy.rb file is not very secure.
Why not use SSH keys? There are lots of places on the internet where
you can find how to do this, but a short howto can be found at:
http://pkeck.myweb.uga.edu/ssh/
As for your other question about providing different
Sometimes in a pinch I just use env vars...
MSG=hello world cap disable_web deploy enable_web
deploy.rb:
...
puts #{ENV[MSG]} if ENV[MSG]
...
Jamis Buck wrote:
Clayton,
Note that Capistrano consumes the command-line arguments, using
optparse, which is destructive. Once the arguments
This is probably more of a unix question than Capistrano.
If I have several commands to string together, I know I can to that with
. But what do I do if I have several steps and I want them all
executed regardless of the success of prior commands.
An example might be a task to get my mongrel
Use '; between the commands.
On 2/9/07, Steve Downey [EMAIL PROTECTED] wrote:
This is probably more of a unix question than Capistrano.
If I have several commands to string together, I know I can to that with
. But what do I do if I have several steps and I want them all
executed
A client wanted to deploy on their Suse Enterprise Linux Server (SLES)
10, recently, and I kept getting this nasty nasty message along with
some Novell apparmor non-sense in the apache and document specific
logs. Images/stylesheets and generally everything out of the public
document root