建立了一把umbraco本地开发环境 [英] Setting up local development environment for Umbraco

查看:380
本文介绍了建立了一把umbraco本地开发环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了一把umbraco CMS项目中,一把umbraco实例和自定义用户控件我们的测试服务器上存在的最初版本已经演示版的客户端了。我现在需要借此上,初步构建了一个自由职业者开发我的时间之前完成注册,没有文件存在于建立,部署,等等。

I have inherited an Umbraco CMS project, the Umbraco instance and custom user controls exist on our test server as the initial build has been demo-ed to the client already. I now need to take this on, the initial build was done by a freelance dev before my time here and no documentation exists on set up, deployment, etc.

自定义用户控件是在源代码控制和构建OK,有点缺陷修复后。我按照下面的尝试并获得了一把umbraco的一个实例,安装和自定义控制工作在我的机器上制定打击。

The custom usercontrols were under source control and build ok, after a bit of bug fixing. I have followed the following to try and get an instance of the Umbraco install and custom controls working on my machine for developing against.

<一个href="http://slickjuanito.word$p$pss.com/2012/02/27/setting-up-umbraco-development-environment-in-visual-studio-2010/">http://slickjuanito.word$p$pss.com/2012/02/27/setting-up-umbraco-development-environment-in-visual-studio-2010/

<一个href="http://our.umbraco.org/wiki/how-tos/getting-started-with-umbraco-what-is-next-after-you-install/setting-up-your-project-in-visual-studio">http://our.umbraco.org/wiki/how-tos/getting-started-with-umbraco-what-is-next-after-you-install/setting-up-your-project-in-visual-studio

我指着一把umbraco web配置在与相关内容的数据库,并可以访问CMS的后端,但是当我去到Default.aspx我只是得到一个空白页。我已经设置了VS2010抛出CLR异常,并开始在调试模式下的解决方案,以查看是否有错误被抛出,并没有什么。

I am pointing the Umbraco web config at the database with the relevant content in and can access the back end of the CMS, however when i go to the Default.aspx i just get a blank page. I have set VS2010 up to throw CLR exceptions and started the solution in debug mode to see if an error is being thrown and nothing.

任何人都可以提出任何东西,试图让它正常运行或点我的一些资源塔可以帮助?

Can anyone either suggest things to try and get it running properly or point me to some resources tha might help?

感谢

克里斯

推荐答案

如果您有 IIS前安装preSS ,我发现最简单的就是:

If you have IIS Express installed, what I have found easiest is to:

  1. 从服务器站点的文件系统复制到本地计算机的的Inetpub文件夹。
  2. 在IIS中创建一个网站,并指出这些文件。
  3. 在Visual Studio中,单击文件,打开,网站,然后选择该网站。

如果您有href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=1491"> 的安装MVC框架的

If you have the MVC Framework installed, syntax highlighting will work for razor (.cshtml) scripts.

一步是使数据库的副本,并点的连接字符串的副本。该副本可以恢复到另一台数据库服务器,或者如果您有 SQL Server的防爆preSS 安装,你可以在本地运行复制也是如此。

One step further would be to make a copy of the database and point the connection string to that copy. The copy could be restored to another database server, or if you have SQL Server Express installed, you can run the copy locally as well.

这篇关于建立了一把umbraco本地开发环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆