[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 612
  • Last Modified:

version control to iis7

add version control (subversion or other)
to iis7 windows server 2008  php5.2.17

should this be added to windows folder to php code editor
0
rgb192
Asked:
rgb192
  • 3
  • 3
1 Solution
 
Eddie ShipmanAll-around developerCommented:
No, you need to keep your development separate. Keep all your development files in a separate directory and when they are fully tested, then you can move them to your production server.

Since I use WAMP for my testing, I keep all my source in the wamp/www directory which is my localhost documentroot folder. My version control is for that folder only. Then after all changes are tested and checked in, I transfer to my production server.

0
 
rgb192Author Commented:
but my development and production are on the same folder on the same folder
so what do you think I should do
0
 
Eddie ShipmanAll-around developerCommented:
That is a rather idiotic thing to do. What if you want to add a feature to your site and all the parts aren't finished at the end of the day?
My suggestion is to immediately make a copy of your source in another directory and set your source control to that directory. If you want to push up incomplete code, then at least you are working on a copy.

To further suggest, setup a directory off your webroot for testing your changes, too.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
rgb192Author Commented:
if I separate the production folder and the development folder

how to move the production to development folder when it is finished

but alot of my changes are small such as changing the year on a copywrite date from 2010 to 2011 which I would just do on the production folder (if easier)
0
 
Eddie ShipmanAll-around developerCommented:
You don't know how to copy files?
0
 
rgb192Author Commented:
This works.  Thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now