io静态功耗

In this article, I'll show you how to deploy a static website for free in only 3 minutes, using a cloud storage service like Google Drive or Dropbox.

在本文中,我将向您展示如何使用云存储服务(如Google云端硬盘或Dropbox)在3分钟内免费免费部署静态网站。

And no - fast.io didn't pay me or freeCodeCamp to create this article. We don't have any relationship with them. I'm just writing about this because I found their tool to be really exciting and useful for quickly hosting static websites for free.

而且不行-fast.io并没有付我钱或freeCodeCamp来创建本文。 我们与他们没有任何关系。 我之所以这样写是因为我发现他们的工具非常令人兴奋,对于快速免费托管静态网站非常有用。

什么是Fast.io? (What is Fast.io?)

Fast.io is a solution created by Mediafire to simplify how the web works. In a few words, their goal is to make your life easier by making the web more accessible and manageable.

Fast.io是Mediafire为简化网络工作而创建的解决方案。 简而言之,他们的目标是通过使网络更易于访问和管理来使您的生活更轻松。

It was launched at the end of 2019, so I'm sharing it with you now.

它于2019年底推出,现在我要与大家分享。

这个怎么运作 (How it works)

When you use Fast.io, you will be able to connect to your cloud (Google Drive, DropBox, etc.), choose a website name, and deploy your content all in a few clicks.

使用Fast.io时,只需单击几下便可以连接到云(Google云端硬盘,DropBox等),选择网站名称并部署内容。

If your content is ready, only 3 minutes are required to put your content online and make it accessible to everyone.

如果您的内容准备好了,则只需3分钟即可将您的内容放到网上并使所有人都可以访问。

Once your website is online, you can configure it, add a custom domain name, and connect Google Analytics so you know how many people you are reaching.

网站上线后,您可以对其进行配置,添加自定义域名并连接Google Analytics(分析),从而知道您可以覆盖多少人。

I haven't mentioned this yet, but the service automatically updates your website once you modify the source files. For example, if you are using Google Drive to share your content, once you change something in your HTML page, it will be updated.

我还没有提到,但是一旦您修改了源文件,该服务就会自动更新您的网站。 例如,如果您使用Google云端硬盘共享内容,则在HTML页面中进行更改后,内容就会被更新。

可用的存储提供商 (Available storage providers)

Here's a list of available storage providers if I were to publish my website today:

如果今天要发布我的网站,这是可用的存储提供商列表:

  • GitHub的GitHub
  • Dropbox投寄箱
  • Google DriveGoogle云端硬碟
  • Box框
  • MediafireMediafire
  • OneDrive一个驱动器

As you can imagine, this list is going to grow as new services are added. But even now, you have many possibilities to host your static website.

可以想象,随着添加新服务,此列表将不断增加。 但是即使到现在,您仍然可以托管静态网站。

竞争者 (Competitors)

There are already a number of different companies who allow you to quickly get a static website online. The most famous solutions are GitHub Pages, Heroku, and Netlify.

已经有许多不同的公司允许您快速在线获得静态网站。 最著名的解决方案是GitHub Pages,Heroku和Netlify。

I'm not necessarily saying that Fast.io is the best one, but I like how simple it is to deploy a basic website.

我并不一定要说Fast.io是最好的网站,但我喜欢部署基本网站如此简单。

Quick note: if you want to deploy something more complex – like a Python Flask website – you can't do it with Fast.io. In this case, I highly recommend using Heroku.

快速说明:如果您想部署更复杂的内容(例如Python Flask网站),则无法使用Fast.io。 在这种情况下,我强烈建议您使用Heroku。

As I told you, I'm going to be transparent with you. Fast.io an excellent service for certain tasks.

正如我告诉您的那样,我将与您保持透明。 Fast.io是某些任务的出色服务。

什么是静态网站? (What is a static website?)

Before showing you how to deploy your website, I think it's essential to define what a static website is and what the differences are from a dynamic site.

在向您展示如何部署网站之前,我认为至关重要的是定义一个静态网站以及动态网站的区别。

A static website contains web pages with fixed content. The content of your page is in HTML, and all users see the same thing.

静态网站包含内容固定的网页。 页面的内容为HTML,所有用户都可以看到相同的内容。

For example, you can use this type of site when you want to do a landing page for your website (a basic page with information about your product).

例如,当您要为网站创建登录页面(包含有关产品信息的基本页面)时,可以使用这种类型的网站。

The main difference between that and a dynamic website is, of course… the dynamic part!

与动态网站之间的主要区别当然是……动态部分!

A dynamic website uses a server technology to build the page when a user requests the website.

当用户请求网站时,动态网站使用服务器技术来构建页面。

For example, you can use this type of site for your blog. Every time you add a new article to your database, the website will display it.

例如,您可以将这种类型的网站用于博客。 每次将新文章添加到数据库时,网站都会显示该文章。

是时候部署您的网站了 (It’s time to deploy your website)

Are you ready to share your page with everyone? Let’s do it!

您准备好与所有人共享页面了吗? 我们开始做吧!

In this part, I will show you how to put your website online in a few clicks. I’m going to use a basic HTML page, but once you understand how Fast.io works you are free to modify everything.

在这一部分中,我将向您展示如何单击几下使您的网站在线。 我将使用基本HTML页面,但是一旦您了解Fast.io的工作原理,就可以自由地修改所有内容。

1)创建一个index.html文件 (1) Create a index.html file)

You need to create an index.html file with your HTML code inside. I recommend that you to start with something simple because you can always update it later.

您需要使用内部HTML代码创建一个index.html文件。 我建议您从简单的内容入手,因为以后可以随时对其进行更新。

Save the file on your computer.

将文件保存在您的计算机上。

2)打开Fast.io主页 (2) Open the Fast.io homepage)

All you need to do to start with Fast.io is open the website. Once you've done that, click on "Sign up now - it's free!".

要开始使用Fast.io,需要做的就是打开网站。 完成此操作后,单击“立即注册-免费!”

3)配置Google云端硬盘 (3) Configure Google Drive)

This page appears after step 2 and allows you to select a storage provider. Select "Google Drive".

该页面在步骤2之后出现,并允许您选择存储提供商。 选择“ Google云端硬盘”

If you want to create a website with another provider, you can do that later by adding it through your account page.

如果要与其他提供商一起创建网站,则可以稍后通过在帐户页面中添加网站来进行。

Fast.io needs access to your Google Drive account to work. They will create a "Fast.io" folder to contains your website(s). Click on "Connect Google Drive Now".

Fast.io需要访问您的Google云端硬盘帐户才能正常工作。 他们将创建一个“ Fast.io”文件夹来包含您的网站。 点击“立即连接Google Drive”

You need to select your Google account to link it with Fast.io.

您需要选择您的Google帐户才能将其与Fast.io关联。

You need to allow Fast.io to access your Google account to link it correctly.

您需要允许Fast.io访问您的Google帐户才能正确链接。

Your account is now ready, so just choose a password and then click on "Create Account".

您的帐户现已准备就绪,因此只需选择一个密码,然后单击“创建帐户”

When your account is ready, a "Welcome to Fast!" page will appear. Click on "Let's begin!".

准备好您的帐户后,请“欢迎使用快速!” 页面将会出现。 单击“开始吧!”

4)创建您的网站 (4) Create your website)

You are ready to create your website and share it with everyone! Click on "Add New Site".

您已准备好创建您的网站并与所有人共享! 点击“添加新站点”

Choose your website name and type it in the input box. When you've finished, click on "Next".

选择您的网站名称,然后在输入框中键入它 。 完成后, 点击“下一步”

Fast.io allows you to create three website types: a File Sharing website, a Web Page, or a Files Browser website.

Fast.io允许您创建三种网站类型:文件共享网站,网页或文件浏览器网站。

In our case, we will select "Web Pages" because we want to host an HTML web page.

在本例中,我们将选择“网页”,因为我们要托管一个HTML网页。

If later you want to create a website to share some documents, you have to go back to your dashboard, create a new one, and select File Downloads.

如果以后要创建一个共享某些文档的网站,则必须返回到仪表盘,创建一个新的仪表盘,然后选择“文件下载”。

Once you clicked on "Web Pages", you need to select your storage provider. Click on "Google Drive".

单击“网页”后,您需要选择存储提供商。 点击“ Google Drive”

Choose your website URL and type it in the input box. When you've finished, click on "Create Site".

选择您的网站网址,然后在输入框中输入。 完成后, 点击“创建网站”

You did it! Your website is online and available at the URL you chose. In my case, you can find my site on mygoogledrivewebsite.imfast.io

你做到了! 您的网站在线并且可以通过您选择的URL访问。 就我而言,您可以在mygoogledrivewebsite.imfast.io上找到我的网站。

5)上传您的index.html (5) Upload your index.html)

If you open your website, you may notice an error because you didn't upload your index.html file on your Google Drive.

如果您打开网站,则可能会注意到错误,因为您没有将index.html文件上传到Google云端硬盘。

Here are two ways to do that:

有两种方法可以做到这一点:

  • Open your Google Drive and search for the Fast.io folder, then the folder of your website (in my case, "mygoogledrivewebsite.imfast.io").

    打开您的Google云端硬盘 ,然后搜索Fast.io文件夹 ,然后搜索您网站的文件夹(在我的情况下为“ mygoogledrivewebsite.imfast.io”)。

  • On the step 4 success page, click on "See your Google Drive".

    在第4步成功页面上, 点击“查看您的Google云端硬盘”

Once you've done that, right-click with your mouse and select "Upload files". A new window will open, find your "index.html" file - select it.

完成此操作后, 用鼠标右键单击并选择“上传文件” 。 将打开一个新窗口, 找到您的“ index.html”文件-选择它

Wait for a little bit before the change appears on your website.

请稍等片刻,更改内容才会出现在您的网站上。

6)庆祝! (6) Celebrate!)

Spread the word to all your friends! Your website is live and everyone can see it!

把这个词传播给所有的朋友! 您的网站已经上线,每个人都可以看到!

io静态功耗_如何使用Fast.io从Google云端硬盘直接在3分钟内免费部署静态网站相关推荐

  1. 谷歌云端硬盘 转存_如何在Linux上使用Google云端硬盘

    谷歌云端硬盘 转存 When Google introduced Google Drive in April 24, 2012, they promised Linux support "c ...

  2. 挂载云端硬盘_如何在Linux上挂载Google云端硬盘

    挂载云端硬盘 Google Drive is nice cloud storage which provide document editing features. However, it does ...

  3. 谷歌云端硬盘 转存_如何整理您的Google云端硬盘

    谷歌云端硬盘 转存 Over time, with some neglect and potential laziness, your Google Drive can accrue tons of ...

  4. java io复用_学习Java编程-IO复用

    原标题:学习Java编程-IO复用 对于服务器的并发处理能力,我们需要的是:每一毫秒服务器都能及时处理这一毫秒内收到的数百个不同TCP连接上的报文,与此同时,可能服务器上还有数以十万计的最近几秒没有收 ...

  5. erwin模型怎么保存_一行命令启动,十分钟内完成部署,Paddle Serving开放模型即服务功能...

    机器之心发布 机器之心编辑部 百度飞桨的 Paddle Serving 能够实现服务器端快速部署,最近,随着飞桨更新到 1.7 版本,Paddle Serving 也有了新变化.更新后的 Paddle ...

  6. python io多路复用_【python】-- IO多路复用(select、poll、epoll)介绍及实现

    IO多路复用(select.poll.epoll)介绍及select.epoll的实现 IO多路复用中包括 select.pool.epoll,这些都属于同步,还不属于异步 一.IO多路复用介绍 1. ...

  7. es6 ... 添加属性_如何在10分钟内免费将HTTPS添加到您的网站,以及为什么您现在不止需要这样做......

    es6 ... 添加属性 by Ayo Isaiah 通过Ayo Isaiah 如何在10分钟内免费将HTTPS添加到您的网站,以及为什么现在比以往更需要这样做 (How to add HTTPS t ...

  8. web文件 群晖_【原创】群晖NAS 上部署静态网站

    概要 1.简介 NAS 除了用来管理文件,用作个人云盘之外,还有很多用途.因为群晖的操作系统 DSM 本身就是一个 Debian 的定制系统,所以完全可以把 NAS 当作一台个人的服务器,你可以在上面 ...

  9. 移动硬盘改台式机硬盘_如何在台式机或移动设备上离线使用Google云端硬盘

    移动硬盘改台式机硬盘 If there's any drawback to using cloud-based services for all your productivity and organ ...

最新文章

  1. C++ 笔记(03)— 命名空间(概念、定义、调用、using name 指令、嵌套命名空间)
  2. asp.net权限设置可能导致应用程序无法正常运行(转)
  3. netty系列之:一个价值上亿的网站速度优化方案
  4. 【转】linux下安装ssh服务器端及ssh的安全配置
  5. Bootstrap HTML 编码规范之字符编码
  6. Android 系统(112)---Android系统读取 CPU温度(MTK平台)
  7. python django开发工具_Python和Django web开发工具pycharm介绍
  8. 如何快速将一个lista集合中的部分字段值组合成新的的listb部分*
  9. CFS 调度器学习笔记
  10. Linux——虚拟机系统安装
  11. 宏观经济指标分析与数据可视化——PMI
  12. Python实现简易语音转文字功能模块
  13. 无力吐槽,大乱炖吧 乱七芭蕉知识点 js基础
  14. Scheme语言深入
  15. Oracle 官网共享账号
  16. SRS之SrsConfig类
  17. windows服务器直播推流
  18. 2010年美国计算机图书市场Part1
  19. 大学计算机基础专升本复习提纲
  20. Docker之maxscale容器实现mysql读写分离配置文件

热门文章

  1. Web-Design 如何选择虚拟主机?
  2. 精密空调突发性故障处理方法
  3. Java 视频文件、图片文件互转Base64编码(springboot)
  4. 汇川AC801 AM400 AM600程序 CODESYS平台 Ethercat带20个伺服
  5. 大连新成立日本独资企业招聘测试相关职位(PM GL)
  6. WinAVI Video Converter V9.09 绿色汉化版
  7. APE文件直接刻录CD
  8. 计算机网络原理 历年真题,计算机网络原理历年真题与答案08年4月(★)
  9. 51单片机驱动1602液晶显示器c程序---万年历
  10. 通过无线网卡建立 Wifi 热点