Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Same confusion I've seen quite a bit.</p> <p>Your SVN (if it's an SVN server) (<code>/var/svn/myproject</code>) and your webserver (<code>~/public_html</code>) are completely separate and have no relation to each other. You will need to save/upload the file to the ~/public_html folder and also commit to the SVN (server). One is the webserver and the other is the SVN (server).</p> <p>The general process I use when working is:</p> <ol> <li>Checkout the repository to a local folder (not the webserver directory because you don't want people to be able to access .svn folders).</li> <li>Edit the necessary files.</li> <li>Upload, save or copy the file from your working directory to the web server. Test to ensure it works. (Some editors, such as Dreamweaver or PhpEd can save to both your working directory and also your webserver directory (FTP or otherwise) in one key short cut.)</li> <li>Once you are okay with the changes, use your SVN commit process to put the changes into the SVN.</li> </ol> <p>Repeat each time you make a set of changes, except for the checkout, you'll want to do an update incase you make changes else where or someone else did. (I do this process each time I working on a specific set of changes or a bug for a site so I can track the history of what I have done for each change.)</p> <p>SVN (server) is only for tracking changes. It often runs as a module of a webserver, but has nothing to do with your actual webserer.</p> <p>If you are confused by how this works, I would recommend purchasing an SVN service so you are less confused and they will deal with the setup of the SVN and it's related problems.</p> <p><strong>Edit</strong> If you want it to automatically post you never version to the webserver (not recommended) then you'll need to create a script to update every 15 minutes or so. This is really bad because your .svn folders will end up on the webserver directory. You need to do this manually every time you make a change or export the svn to that directory.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload