Dnn space usage Problems

Source: Internet
Author: User
Tags dnn dotnetnuke

I saw a post in the dnn forum, which is more practical. Stay here.

Http://www.asp.net/Forums/ShowPost.aspx? Tabindex = 1 & postid = 671187

Dnn 3. x. x deploy. BAT:

Xcopy "[dnn source root]" [Destination path]/D/E/R/k/h/I/y/W/exclude: exclude.txt

Example:

Xcopy "E: \ dnn \ dotnetnuke" E: \ dnn \ deploy/D/E/R/k/h/I/y/W/exclude: exclude.txt

This copies from my dotnetnuke source root folder to a deploy folder, excluding folders and files defined in the exclude.txt file below.

I have a folder, "E: \ dnn \ build" that has only the deply. BAT file and the exclude.txt file in it. I go there, click on deploy. bat, click any key to continue, and Viola, I have a folder containing all my files I need to deploy to my host for any site.

All I have to do is add the appropriate web. config file in the root and I am all set.

Dnn 3. x. x exclude.txt:

\ Documentation \
\ Buildsupport \
\ Components \
\ Httpmodules \

\ Controls \ countrylistbox \
\ Controls \ dataaccessblock \
\ Controls \ dotnetnuke. webcontrols \
\ Controls \ dotnetnuke. webutility \
\ Controls \ memberrole \
\ Controls \ sharpziplib \
\ Controls \ solpartmenu \ bin \

\ Portals \ 0 \ portal.css

. Sln
. Suo
. Webinfo
. VB
. Build
. Bat
. PDB
. Doc
Web. config

There is a start for the BAT file's exclude.txt file for dnn 3. x. x.

There is much, much more that can be added, this is a start for 3. x. x

The \ portals \ 0 \ portal.css file is excluded because if it exists already, dnn throws an error (unhandled) that it already exists when you run the newly deployed portal.

Deployment size from the above excludes = 22.8 MB, size on disk = 25.7 MB.

I am sure if I had a little more time this morning, I cocould easily figure out all of the required excludes, a core team member is not required (although it wocould speed things up ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.