Re: [capistrano] after capistrano deployment , changes doesn't show up in browser

2011-11-17 Thread Lee Hambley
That depends entirely on correctly configuring DNS, a web server, your database server, an application server, and more - please consult your distributions documentation on how to do those things. - Lee -- * You received this message because you are subscribed to the Google Groups Capistrano

Re: [capistrano] after capistrano deployment , changes doesn't show up in browser

2011-11-17 Thread sukoon chd
Here are the files $ sudo cat /etc/apache2/sites-available/capi_app VirtualHost *:80 ServerName www.passionate4.net DocumentRoot /var/www/capi_app/public Directory /var/www/capi_app/public Allow from all Options -MultiViews /Directory /VirtualHost

Re: [capistrano] after capistrano deployment , changes doesn't show up in browser

2011-11-17 Thread Craig White
On Nov 17, 2011, at 1:55 AM, sukoon chd wrote: Lee, I appreciate the reply. I tried everything. There is something wrong with this when i reload the server - sudo /etc/init.d/apache2 reload I get this error, Warning: DocumentRoot [/var/www/myapplication/public] does not exist

[capistrano] Re: [Q] run here documents on remote server.

2011-11-17 Thread hiroysato
Hello Donovan. Thank you for your information. I tried following. but It does not work correctly too. run %Q{ catEOS | wc -l foo foo foo EOS # } On 11月16日, 午前1:34, Donovan Bray donno...@gmail.com wrote: Try a blank line between the last foo and EOS What you

Re: [capistrano] Ideal directory structure for Capistrano

2011-11-17 Thread Donovan Bray
Its not wrong if it works. I think the more accepted way is to use capistrano-ext I personally favor just building top level tasks that's sole purpose is to manage the 'stages'. On Nov 17, 2011, at 5:16 PM, newguy aimanparv...@gmail.com wrote: Hi guys I have a Capistrano setup for

Re: [capistrano] Re: [Q] run here documents on remote server.

2011-11-17 Thread Donovan Bray
I looked at the some bash pages and I believe this to be the correct invocation cat | wc -l EOS As unlikely as it seems, give it a try. http://tldp.org/LDP/abs/html/here-docs.html You might check into using xargs unfortunately I can't recite xargs syntax from memory run echo foo foo foo |

Re: [capistrano] Ideal directory structure for Capistrano

2011-11-17 Thread Aiman Parvaiz
Am using capistrano multistage, after putting in some thought I realize that this setup is fine as it allows us to have just one rb file for each application and the /config/deploy/production.rb or staging.rb can have the machines on which to apply the code. As the code push steps remain the