Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / project-management

How to create a dummy development environment of your web based project

5.00/5 (1 vote)
31 Jul 2012CPOL1 min read 16.6K  
How to create a dummy development environment of your web based project.

Introduction 

Many times there will be situations where we have to create a dummy development environment so that we can work on new module without affecting the code in VSS.

If some existing changes required by client we can open the VSS project and make the changes and upload it. 

Since our dummy development environment is not at all connected to VSS the new module code will not go to the server. 

How to Create a dummy environment of your Web based project: 

  1. First go to your work folder where you placed your project code base. 
  2. Copy paste it in the same work folder and rename the folder with a new name, e.g., DummyProjectFolder.  
  3. Go to the DummyProjectFolder, right click ProjectName.csproj file and open it in notepad. Press CTRL+F and search for localhost. Rename ProjectName to DummyProjectName. 
  4. Create a virtual directory for the DummyProjectName and bind it to your dummy project path. 
  5. Double click on Solution. Remove it from VSS by going to File -> Solution Control -> Change Source Control and click on Unbind. By this the dummy project will be removed from Source control.  
  6. Right click on Solution and rename it to DummyProjectName. If there is a web application in the solution the right click and rename it to DummyWebApplication.  
  7. Create a new database and name it as Dummydb. Back and restore Originaldb on your Dummydb.
  8. Change connectionstrings in config files.
  9. Change the file paths(Log file paths etc.) in Config files. 

Note:

The above mentioned steps are common steps for creating dummy environment. The steps will increase depending on the settings of your project.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)