Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Git, DNN7, Deploy.Git, DNN7, Deploy.
New Post
8/12/2016 9:06 AM
I've been tasked with trying to setup a proper deployment plan for our current DNN installation. We have DNN Plattform 7 with a single Site, and I've hit several road blocks I'm hoping you could help with.

I'm currently at loss on whether I should keep the entire DNN installation in git, or if I should break it up into multiple repositories.

I'm also unsure what folders/files I can tell git to ignore.
DNN and modules alike seem to be writing cache files, temp files, and other unknown files several places, like APP_DATA and within Portals (not the Cache folder mind you).

I tried googling to find some kind of description of DNN's folder structure, but no dice.

So if anyone has a decent git config to share, or advice on how you track and deploy your DNN instance(s) I would be forever grateful.
New Post
8/12/2016 1:55 PM
Git should be used for source code repositories, not for DNN installs.
You need a backup plan, which includes files and the database.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
New Post
8/15/2016 4:50 AM
Thank you.

We still need a way to track custom files to have a local version as close as possible to the one in production.

Currently I have a script which creates and restores the production database to a local instance, a very important tool when debugging errors in production.

Ideally we should be able to version control all files that we change manually, without tracking files generated by DNN or modules.

web.config, robots.txt are examples of files we want to version control at root level. (All credentials are pull out into untracked files of course)
And inside Portals we probably want to version control most of the site files like Skins, templates and containers. Maybe just ignore some of the obvious folders like Cache, EventQueue and Logs.

I was just hoping someone had good suggestions on how to handle this and deploys.

If what you're running locally and what you're running is production is diverging too much, it's hopeless to debug something locally anymore.
New Post
8/23/2016 4:06 PM

Hi Peter,

We use BitBucket as our git repository and often set up DNN repos. We typically don't track the whole application, just the parts we customize: skins & custom modules. 

Here is a typical gitignore file for me. There is probably more in here than you need. We typically do not source control the web.config since the connection strings change depending on the environment. 


































New Post
8/25/2016 1:26 AM
Thank you very much, this was exactly what I was looking for!
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Git, DNN7, Deploy.Git, DNN7, Deploy.

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out