Jump to content

Setting up a development environment


envexlabs

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.