I would prefer to just upload the one file. I don't think all the
other rails stuff has anything to do on that other server.

If somebody gets access to it for example I don't want my whole rails
application to be lying there. I would like to keep the exposure of
the code at a minimum. Of course I try to catch all sql injections and
stuff like that in the code, but if someone could access the code it
would be much easier to find flaws and use it against the production
server.

Maybe this is a little paranoid... but better safe than sorry. I could
also live with deploying everything to the other host as well, but if
it would be possible to just deploy the one file there without a big
hassle I would prefer that solution.

I didn't find anything online about that and wanted to ask here before
I dig deep into the docs and find out it is not possible at all.


- Sascha


On Jun 13, 9:39 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> On Jun 13, 2007, at 12:19 PM, Sascha Koni wrote:
>
> > I havesuccessfullybeenusingcapistranotodeployto my db and app
> > server. Now I have a new server which we use for monitoring. We use
> > cacti to grab statistics out of the database with the help of a ruby
> > script. The ruby script is in the same subversion repository as the
> > rails application it belongs to.
>
> > My question is, how can Ideployto the app and db as I did before but
> > also somehowdeploythat one file to a different host. I could of
> > coursedeploythe whole code but I would prefer if only the files that
> > are needed are copied.
>
> Just curious about this: why do you have that preference? Things are
> so much simpler if you justdeployidentically to all servers.
> Otherwise, you're looking at writing your own deployment strategy.
>
> - Jamis
>
>
>
> > I will probably have to set up a new role incapistrano. But how do I
> > continue? Should I just replace the ruby file that gets the statistics
> > on that server? Or only check out that one file? Do I have to create a
> > folder structure like on the app servers for the statistics server as
> > well? If not how do I rollback?
>
> > Any help would be greatly appreciated!
>
> > Regards,
> > Sascha


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to