Hexo Demo
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1
bash $ hexo new "My New Post"
Run server
1
2bash $ npm install hexo-server; hexo server
bash $ hexo serverGenerate static files
1
bash $ hexo generate
Deploy to remote sites
1
bash $ hexo deploy
Shortcut for clean, generate, deploy
1
bash $ hexo clean; hexo ge; hexo de
Markdown
- markdown syntax #1
- markdown syntax #2
- MarkdownPad: a full-featured Markdown editor for Windows
Favicon generator
Web framework
Linux notes
- First please run
hexo init
on an empty folder and then copy your files into it - Must install the newest nodejs, not the default version of OS
- Local hexo not found in, solved by update the nodejs, npm install -g n; n 8.12.0 or n latest
- /usr/bin/env: node: No such file or directory, solved by ln -s /usr/bin/nodejs /usr/bin/node
- ERROR Deployer not found: git, solved by npm install hexo-deployer-git –save