Welcome to my website! This is my very first post.

The website is constructed using Hexo blog framework with hexo theme Butterfly.
If you get any problems when using Hexo, you can find the answers here or you can ask on GitHub.
If you get any problems when using Butterfly theme, you can find the answers here or you can ask on GitHub.


Create new post and new page

1
hexo new post "Type Post Name Here"
1
hexo new page "Type Page Name here"

More info: Writing


Clear the cache and static files

1
2
3
hexo clean
#or
hexo cl

More info: Clean


Generate static files

1
2
3
hexo generate
#or
hexo g

More info: Generating


Run server

1
2
3
hexo server
#or
hexo s

More info: Server


Deploy to remote sites

1
2
3
hexo deploy
#or
hexo d

More info: Deployment


Deploy in one-command

1
2
3
hexo cl && hexo g && hexo s
#or
hexo cl && hexo g && gulp && hexo d

More info: One-command Deployment


Github push

1
2
3
git add .
git commit -m "github action update"
git push origin master

More info: Github Pages


Hexo update

1
2
#Update hexo-cli:
npm i hexo-cli -g
1
2
3
#npm-check
npm install npm-check -g #install first
npm-check
1
2
3
#npm-upgrade
npm install npm-upgrade -g #install first
npm-upgrade
1
2
#Update packages globally
npm update -g
1
2
#Update the environment dependency package.
npm update --save

If you enter hexo -v, the following result will be displayed if the update is successful.