Public Blog
Brief Instruction
hexo new "file name"
hexo g
hexo s
lua deployer
Tutorial
git clone this-repo
npm i
hexo new "file name"
hexo clean
thenhexo s
to view in local serve page- Revise blog contents.
- Unzip and place the
lua-5.3.6_Win32_bin
into your system environment in order to use some automatic tools. - Then run
lua deployer
in this folder, or conduct the following commands in console to deploy and push.
DO NOT DELETE ANY CONFIGS IN config.yml
, otherwise you have to unzip hexo-asset-image.7z
in root folder then move it into the folder of node_modules
to replace the old ones.
Reference
- Correction of the content above('2.')
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: git
repo: [email protected]:softwarelab/softwarelab.git
branch: master
- Use another repositry to deploy the final
public
webpage as the 'public' folder would be regenerated and all of the files in it will finally be removed after regeneration.
Finally Successful
- The more important and convenient methods are shown in blogs of Tutorial1-Hexo-Gitee-BlogConstruction and Tutorial2-Hexo-Blog-Image-Problem in this repository.
- About solving the Image Problem. And the usable version of
hexo-asset-image
is also placed in this repository for your convenience, find it ashexo-asset-image.7z
and replace your version if the problem of image still happens.
by Alexander Ezharjan
13th Feb, 2022