Category: Programming & Design
Resolved Question
Xampp Development and Production Environment?Ok i have Xampp on my home computer. I want to start production on a site. And i want to do this right. I want to have a development and production Environment. Also i want to do version control on it.
I have a site basework established using joomla 1.5.5. Well before i start getting into customizing mods and talioring the site to my needs i wanted to set all this up.
Can anyone help me with this process.
What is a good version control system for this? And in Mysql should i crate two replicated db's with different preffix's such as dev and live?
I have a site basework established using joomla 1.5.5. Well before i start getting into customizing mods and talioring the site to my needs i wanted to set all this up.
Can anyone help me with this process.
What is a good version control system for this? And in Mysql should i crate two replicated db's with different preffix's such as dev and live?
Best Answer - Chosen by Asker
- First, I'm assuming your home computer is running Windows, if not, no problem. Everything mentioned below is for linux and macs too.
As a business applications developer, my personal preference is subversion (subversion.tigris.org), which is free, and available with many hosting companies.
To fully understand how to use it best (branching, merging, tagging, etc), I strongly encourage you to read the documentation. If you are unfamiliar with the diff tool, you should read up on that as well.
If you are not using cygwin or putty or some other unix-like prompt imitator, you should get TortoiseSVN (tortoisesvn.tigris.org) as well. It hooks subversion into windows explorer, allowing you to do everything there. "must have" for all windows/svn users.
For the database, using a different database for development from your production database is a really good idea. Just making a second database is the easiest method. Just use mysqldump and mysql to copy your production database to your development database as needed.
