从本地主机上传服务器上的umbraco网站 [英] Uploading umbraco site on server from local host

查看:257
本文介绍了从本地主机上传服务器上的umbraco网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功创建网站使用Umbraco现在它的时间上传它在托管服务器上。
我搜索,并得到一个付费产品为同一个,我不想使用它。 p>

有没有任何机构试图在本地开发Umbraco网站,然后在服务器上上传?



如果是,请帮助我

解决方案

首先,我从本地IIS网站运行umbraco安装。然后我为该网站设置我的视觉工作室解决方案(和我的声音控制)。然后我工作,直到我达到测试版,然后我通过这个过程进行部署:


  1. Ftp到删除网站和副本

  2. 使用管理工作室连接到我的本地数据库,并创建一个.bak文件。

  3. 上传


  4. 在web.config中查看连接字符串 ol>

    然后我几乎完成了。



    一旦我活想要失去,当我想在网站上工作,我通过一个.bak文件带回实时数据库,然后我做出我的更改。它们通常包括数据库更改,因为模式基本上在数据库中。我注意到我做的所有操作。一旦我的更改准备就绪,我手动复制在现场网站上的更改,因为我更新的文件。



    这是非常painfull,但我尝试解决方案,如快递和其他类似的东西他们不够可靠的生产我发现。手动是我目前看到的唯一无风险的方式。



    希望这有助于。


    I've successfully created site using Umbraco now its time to upload it on hosting server.. i've searched and got one paid product for the same..and i dont want to use it.

    Has any body tried developing Umbraco site on local and then uploading it on server?

    If yes then please help me doing that.

    解决方案

    First I run the umbraco install from a local IIS website. Then I setup my visual studio solution for that website (and my souce control). Then I work, until I reach a beta version, then I go through this process for deploying:

    1. Ftp over to the remove website and copy the whole website (I actually use Beyond compare).
    2. Connect to my local database with management studio and create a .bak file.
    3. Upload the .bak file to the database server.
    4. Restore that database
    5. Review connection strings in web.config

    Then I'm pretty much done.

    Once I'm "live" and have content I don't want to lose, when I want to work on the website, I bring back the live database through a .bak file, then I make my changes. They often include DB changes since the schema is basically in the database. I note all the operations I do. Once my changes are ready I manually replicate the changes on the live site as I update the files.

    This is very painfull but I tried solutions like courrier and other things like that and they are not reliable enough for production I find. Manually is the only risk free way I see for the moment.

    Hope this helps.

    这篇关于从本地主机上传服务器上的umbraco网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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