You could try doing it async--have the request add a record to a queue
somewhere. Then (via cron or some other external process) you
periodically read from the queue and fire off the deploy command that
way.
It does mean you won't be able to capture the output and feed it back
to the user in real time, though.
- Jamis
On 7/26/07, goodieboy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I need to find a way to trigger a cap deploy from a web application/
> form. I'm using PHP as the scripting language and I know I can just
> issue an exec('cd /my-app; cap deploy'). But the problem is
> permissions. I have a specific user setup for the project and I can't
> have apache executing "cap deploy" directly. Does anyone know how to
> do this correctly?
>
> Thanks,
> Matt
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---