如何部署在微软的Azure一个简单的静态微型网站 [英] How to deploy a simple static micro site on Microsoft Azure

查看:173
本文介绍了如何部署在微软的Azure一个简单的静态微型网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划我所有的网站从我自己baremetal服务器,以微软的Azure移动。为了让事情开始我想做一个POC和部署非常简单的静态微型 - 与一些CSS / IMG / JS资源一个HTML页面

I plan to move all my websites from my own baremetal server to Microsoft Azure. To get things started I want to do a POC and deploy a very simple static microsite - a single html page with some css/img/js resources.

如何去部署一个简单的静态网站?我可以看到简单的CMS类网站的选择,但没有了最基本的网站。

How does one go deploy a simple static website? I can see options for simple CMS type sites, but nothing for the most basic of sites.

推荐答案

虽然有多种选项提到Brents的答案(和评论),我找到一个简单的选择,因为最容易的。

While there are several options as mentioned Brents answer (and comments), I find one simple option as easiest.


  1. 创建从Azure的门户网站。

  2. 转至:https://开头{SITENAME} .scm.azurewebsites.net / DebugConsole

  3. 导航到:网站/ wwwroot文件

  4. 将您的文件拖放(HTML / JS / CSS /...).

完成

(浏览到http:// {SITENAME} .azurewebsites.net /看您的网站)。

(browse to http://{sitename}.azurewebsites.net/ to see your site).

请注意:您还可以从该视图编辑文件

Note: You can also edit your files from this view.

这篇关于如何部署在微软的Azure一个简单的静态微型网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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