Git Product home page Git Product logo

website-hexo-container's Introduction

website-hexo-container 帮助文档

部署Hexo 博客到函数计算

部署 & 体验

应用详情

本项目是将非常流行文档框架 hexo,使用image的方式部署到阿里云 Serverless 平台(函数计算 FC)。

hexo 将助您在极短时间内搭建优美的文档网站, 您可以专注于内容创作,仅需编写 Markdown 文件即可。

通过 Serverless Devs 开发者工具,您只需要几步,就可以体验 Serverless 架构,带来的降本提效的技术红利。

部署完成之后,您可以看到系统返回给您的案例地址,例如:

图片alt

此时,打开案例地址,就可以看到测试的应用详情:

图片alt

实现原理

使用函数计算的 Custom Container 将Hexo项目封装成函数,需要实现一个WebServer来监听函数计算发来的所有请求。本项目利用 Express 框架实现入口代码,接受函数计算的所有流量,转换成 Hexo 网站的静态页。

在部署前需要通过 s build 能力完成自定义镜像的构建和发布。

开发者社区

您如果有关于错误的反馈或者未来的期待,您可以在 Serverless Devs repo Issues 中进行反馈和交流。如果您想要加入我们的讨论组或者了解 FC 组件的最新动态,您可以通过以下渠道进行:

微信公众号:serverless 微信小助手:xiaojiangwh 钉钉交流群:33947367

website-hexo-container's People

Contributors

lowkeyrd avatar

Forkers

web-logs2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.