DEV Community

Cover image for How to Deploy Hexo to a Server

How to Deploy Hexo to a Server

21yunbox profile image 21YunBox Updated on ・2 min read

What is Hexo?

Hexo is a static site generator (SSG) based on Node.js.

21YunBox provides a very simple Hexo deployment method. You can quickly deploy static webpageswith 21YunBox.

How to deploy Hexo in China?

  1. Register as a 21YunBox Member
  2. Fork Hexo Example
  3. Set-up with the following configuration
Environment Static Site.
Build command yarn && hexo deploy
Release Directory ./public

If the description of the above text is not clear, please watch the following step by step video: How to deploy Hexo to the server operation video

Why Choose 21YunBox?

21YunBox is a Cloud Service platform based out of Beijing. Our services enable your team to be more effective in leveraging the growing opportunity within China by hosting your sites at blazing speeds with an operational and maintenance free, and low code solution.

21YunBox provides an easy and budget friendly, end-to-end web platform deployment service for all applications from small teams to large enterprises.
We also offer full support in obtaining your ICP license allowing you to legally host online content inside of Mainland China.

To learn about the differences between 21YunBox and these foreign (outside of China) cloud service platforms, please refer to:

This article's content originated here

For additional detail and future modifications, refer the original post.

Discussion (0)

Editor guide