Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6626793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:56:11+00:00 2026-05-25T21:56:11+00:00

I have always edited code live on a site through an FTP connection in

  • 0

I have always edited code live on a site through an FTP connection in Coda or similar, however I’ve just written my first PHP web app for user sign ups etc and I’m very wary that i’m going to need a better plan than “live editing”. I’m on shared hosting so i think things like SVN and GIT are probably out but is there any software/scripts/solutions that will allow me to push code live to a web server and have the master copy on my Mac.

What are peoples experiences with web apps/deployment and shared hosting?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:56:11+00:00Added an answer on May 25, 2026 at 9:56 pm

    I have written my own deployment system to avoid editing on live.

    It runs in various stages – they are:

    1. SVN export from local repository (this means you don’t get loads of .svn directories)
    2. rsync exported code to live server – but in –dry-run mode so you can see what is actually going to go up to live. This command has some excludes on it: –exclude app/tmp
    3. rsync in normal mode

    Some extras I’ve put in.

    • Because I’m running the code on multiple web servers behind a load balancer, I exclude core.php and database.php. I have then symlinked those files on each of the web servers to a centrally accessible NFS.
    • The rsync to live runs, but it only uploads it once (to the NFS). The deploy script then runs a command on a remote server (via ssh) to kick off an rsync between the NFS and web servers. It’s a bash script that means I can easily manage the web nodes and how the files get pushed out.

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have always made a point of writing nice code comments for classes and
I have always been for documenting code, but when it comes to AJAX +
(Edited to try to explain better) We have an agent, written in C++ for
Hi there I have edited some code I have found on-line and everything works
I have edited this from my real code, so that it is a little
In the past, I've always edited all my sites live; wasn't too concerned about
My assignment is to fix the code. I have my edited code below and
I have the code below which I got from the php: mktime manual just
I have always thought that the .equals() method in java should be overridden to
I have always used || (two pipes) in OR expressions, both in C# and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.