Separation of front and rear ends of Halo project.

At this time, the back-end project will be deployed to Ali Cloud, and the front-end project will be uploaded to Github.

CDN acceleration in Mainland China via JSdeliVR.

This method can skip aliyun network speed limit. Speed up Halo access

Solution:

Modify the project root path env file as follows:

D:\WorkCode\OpenSource\halo-admin.env.jsdelivr

PUBLIC_PATH=https://cdn.jsdelivr.net/gh/caochenhins/halo-dist/dist/Copy the code
  1. Package halo-admin as Dist folder via Gradle:jsdelivr
  2. Push the Dist folder to Github via IDEA
  3. Halo project was deployed to Ali CLoud using Alibaba CLoud Tools in one click
  4. Clear the browser cache and visit the home page.

One-click deployment operation diagram

Jsdelivr package diagram:















Cao Chen’s thinking notes

Welcome to follow, my wechat public number

Sharing is also an attitude to life sharing what you think, what you get.

Write By CaoChen

My name is [Cao Chen]. This wechat public account summerhins aims to improve myself, mainly covering learning methods, attention, habits and so on. At the same time, I share various reading notes and movie reviews from time to time.

Click on the author below the title of the article to follow.

  • Due to the limited level, deficiencies and mistakes are unavoidable, I hope you can point out the criticism.

  • My blog: www.cnblogs.com/hins/

  • My GitHub: github.com/caochenhins

  • My wechat public account: Cao Chen’s Thinking Notes

This article is published by OpenWrite, a blogging tool platform