惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
Know Your Adversary
Know Your Adversary
博客园 - 叶小钗
雷峰网
雷峰网
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
量子位
A
About on SuperTechFans
The Register - Security
The Register - Security
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
IT之家
IT之家
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
Hacker News: Ask HN
Hacker News: Ask HN
T
The Exploit Database - CXSecurity.com
Vercel News
Vercel News
Stack Overflow Blog
Stack Overflow Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
博客园 - 司徒正美
NISL@THU
NISL@THU
V2EX - 技术
V2EX - 技术
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Schneier on Security
Schneier on Security
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
AWS News Blog
AWS News Blog
The GitHub Blog
The GitHub Blog
C
Cisco Blogs
T
Tenable Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
V
Vulnerabilities – Threatpost
美团技术团队
L
LangChain Blog
Google DeepMind News
Google DeepMind News
腾讯CDC
P
Privacy International News Feed
Spread Privacy
Spread Privacy
D
DataBreaches.Net
Engineering at Meta
Engineering at Meta
S
Security @ Cisco Blogs

博客园 - boy119

ISAPI_Rewrite二级域名的问题 制作dnn皮肤的扩展插件 中国DNN团队博客群开通,欢迎大家加入 NETMECHANIC.COM测试网页特性 让IIS服务器支持中文文件名 asp.net中文环境的安装方法 这个post收集可以借鉴的网站界面 从dvbbs转移到cnforums的经验 还有4个wallop邀请,需要的朋友请报名! Dnn3的新闻文章模块和一些看法 access转换为sqlserver的注意事项 cnforums1.2中“在过去的 24 小时内最活跃的 10 位会员”和“论坛统计信息”空白的解决方法 DNN文章模块使用datagrid分页心得 翻译网站 解决dnn3.06 UserOnLine/Survey不能正常运行的bug dnn3模块——FlashPlayer测试版 DotNetNuke Version 3.0.5 ( Public Beta 2 )发布 不错的城市 dnn 3.0.4中discussion的bug
DNN的空间占用问题
boy119 · 2005-02-11 · via 博客园 - boy119

在dnn的论坛看到一篇帖子,比较实用,留在这里。

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.8mb, size on disk = 25.7mb.

I am sure if I had a little more time this morning, I could easily figure out all of the required excludes, a Core Team member is not required (although it would speed things up).