envexlabs Posted October 7, 2008 Share Posted October 7, 2008 Hey, My company has a website that is mysql and php driven. We are constantly adding new features and tweaking old ones, but we don't like to make changes while the page is live. This is more of a "how do you do it" discussion. I'm wondering what the best way would be to setup a development environment would be. Should i just dup the file and rename it? Subversion? Subdomains? Thanks, envex Quote Link to comment Share on other sites More sharing options...
Psycho Posted October 7, 2008 Share Posted October 7, 2008 First off your development environment should be totally separate from your production environment - i.e. not on the same server(s). There are many different routs to take depending on your particular application and how many people are working on it. In some instances it would be beneficial for each developer to have his own development environment so code that each person is working on does not interfere with the other's code. Each person can work on their own code against the current production code until it is ready for check-in. Of course this method requires VERY strict control of the code being checked- in/out to ensure one person does not overwrite another's code. Or, you could simply set up a spare machine to act as your development environment with each person working on the same set of code. For a dev environment it is best not to have it accessible outside your network. Also, you might benefit from having a stage environment that mimics your production environment so you can roll out a new release and ensure it is working properly before moving to production. In addition, you can have one or more test environments between development and stage. It all depends upon your needs, resources and the risk you want to take on. Quote Link to comment Share on other sites More sharing options...
envexlabs Posted October 7, 2008 Author Share Posted October 7, 2008 Hey, Thanks for the response. 95% of the time it's just me working on the php/mysql development. I just want a way that i can work and not interfere with the current live site, in the most productive way Quote Link to comment Share on other sites More sharing options...
DjMikeS Posted October 7, 2008 Share Posted October 7, 2008 What kind of server is it ? Or do you have multiple servers ? As it is just for development, why not run a virtual server ? VMWare ESXi is free... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.