Deploy to same server [SOLVED]

Installation and environment issues, mainly on 1.x but there's some 2.x here too.

Moderators: dwhittle, Ian

Deploy to same server [SOLVED]

Postby alistair » Sun Jan 09, 2011 2:25 pm

I have a dedicated server with full access and external DNS control and am able to create virtual hosts at will. So I my sf dev is in a domain on this box. This works well because I can access it from anywhere as I work in one of three places on different PCs.

I am also developing the same basic design that will be deployed to more than one site with a different db and a few branding changes, and fro the time being at least, usually on this same box.

So my question is how do I best deploy to different host folders?

Everything I read in sf docs says I should deploy with FTP which is a complicated way of copying files from one folder to another. However if I simply copy what don't I copy and is there anyway of using the deploy function to manage updates?
Last edited by alistair on Thu Feb 17, 2011 7:30 pm, edited 1 time in total.
alistair
Member
 
Posts: 30
Joined: Mon Jan 03, 2011 3:30 pm
Location: UK

Re: Deploy to same server

Postby alistair » Sun Jan 09, 2011 8:10 pm

Not a solution but will may just have to live with SFTP from one folder to another and then update as necessary.
alistair
Member
 
Posts: 30
Joined: Mon Jan 03, 2011 3:30 pm
Location: UK

Re: Deploy to same server

Postby xplo » Sun Jan 09, 2011 10:34 pm

if you have a ssh access the best way to deploy is rsync.
you just create one batch/script per apps.
xplo
Faithful Member
 
Posts: 593
Joined: Wed Sep 17, 2008 3:23 pm

Re: Deploy to same server [SOLVED]

Postby alistair » Thu Feb 17, 2011 7:30 pm

The solution is to simply use SFTP across the domains / accounts on the same box
Symfony 1.4.9
Ubuntu 9.04, PHP5.2
alistair
Member
 
Posts: 30
Joined: Mon Jan 03, 2011 3:30 pm
Location: UK


Return to Installation and setup

Who is online

Users browsing this forum: No registered users and 0 guests