Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Setting up a development environment in synch with your live site
Previous Previous
 
Next Next
New Post 1/28/2008 11:33 AM
User is offline Rob
31 posts
www.clarksmith.biz
10th Ranked


Setting up a development environment in synch with your live site 

I'm looking for the recommended procedures and setup for a test environment for DNN 4.7 so that developers could test against a site that is as close as possible to the published site. What is the normal process?

I'm thinking about duplicating the database onto a test SQL server, and then copying the IIS site to test IIS server and reconnecting the two in the web.config file. Then, every so often, I would repeat that process to keep the setup fresh. Does that sound standard? Thanks!

 
New Post 1/28/2008 12:30 PM
User is offline Will Strohl
1308 posts
www.strohlsitedesign.com/
6th Ranked


Re: Setting up a development environment in synch with your live site 

In my experience, there is no such thing as getting them to match exactly.  However, you would want to strive to be as close to that as possible.

The first site you set-up test/live will depend on any number of factors, but once you have one set-up, you can easily use it to set up the other.  I keep a running log of any modifications, host settings, or site settings that I change.  However that is not always necessary to keep track of. 

Once you have the other site set-up to match the other as much as possible, (things like your web.config must be different), you will need to synchronize the database and the file system.  Everything else should maintain itself. 

Synchronization of the database should be pushed from the live site to the development site.  NEVER the other way around.  There are tools to help keep it synchronized, but I do not know of any free ones.  As far as I know, Red Gate has some of the best tools out there.  Otherwise, you are stuck with the manual backup and restore method, which can be eased using a backup file and filesystem approach combined with a T-SQL restore job.

The file system can be done manually, using a batch file, or using software.  I prefer the free approach of using WinMerge to synchronize file systems.


Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 1/28/2008 2:07 PM
User is offline Rob
31 posts
www.clarksmith.biz
10th Ranked


Re: Setting up a development environment in synch with your live site 

Thanks, that's helpful. I appreciate your time.

 
New Post 1/28/2008 3:52 PM
User is offline Will Strohl
1308 posts
www.strohlsitedesign.com/
6th Ranked


Re: Setting up a development environment in synch with your live site 

No problem.  Have a good one!


Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 1/30/2008 8:12 AM
User is offline Rob
31 posts
www.clarksmith.biz
10th Ranked


Re: Setting up a development environment in synch with your live site 

Hm. I'm struggling to get this to work.

I've restored the database to my test SQL server and copied the site directory to my test IIS server and configured the site the exact way my live site is configured, although with different DNS and IPs of course.

Permissions was a fight--I ended up having to create a new account to access the database and changed that account in the web.config. That allowed access to the home page. But clicking any link results in an error because every link points to the live DNS and I can't login to the host controls since the links fail. I've tried accessing the tables in the database directly and tried to change the DNS values in the host table and the portals table but it doesn't seem to take effect. Any ideas?

I know I'm missing something basic.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Setting up a development environment in synch with your live site
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP