svn - How can I manage this CodeIgniter/PHP + Subversion workflow? -


Sorry if this is really a simple question or something as you can tell, I'm Subversion (but hey, we all I have to start somewhere, okay?) I am a complete newbie.

So I've set up, subversion using + to my webpad, now I'm just managing it manually and manually. So I have successfully installed it and in my local folder, with my codeigner installation, I can see the branch / trunk / command folders.

Now I am told that the files you are working in all your trunk folders, however, I still want to test the site locally with my MAMP installation. Does this mean that I need to copy my whole site to the trunk folder, by changing the root URL of MAMP to mysitefolder / trunk by running it - thus making the trunk automatically any change Save?

In this way, when I need to push changes to the FTP server - the live changes that the user will use for the actual webapp - I manually file / em trunk

This kills me as an inefficient workflow. Am I going to go wrong about this, or what is it actually for you to do practically?

Thank you!

Jack

PS I have seen this question tagging that 'reverse' is not an available tag. Why is it like this?

Normally the SVN server will be set on your remote server and you will be able to use FTP Will not be required. If you would like to create a repository on the server, perform a local checkout of files in your local root directory. Once they are there, you can work locally on them as long as you are not happy with them, at that point you will send them to the remote server. Then on your server you will probably have a cron job or other service that will copy the file into your branch of your repository, in the actual document root folder of your site, every day it will be called midnight, daily updates.

If you did not want to go to this whole hog, or have the ability to install the SVN server on your remote server, then the local option would have to use the same procedure in connection with checkout and commit, but then To get a copy of the files using SVN export (without SSN folders) to upload via FTP when you have to make changes live Man who does

At least this is my understanding of the work flow Hope this helps.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -