Setup my personal site with Hexo
2016-07-01 04:43:22
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
Setup and initialize
1 | # install NVM |
try to use setup.sh
to setup:
1 | chmod +x setup.sh |
apply third party theme
1 | git submodule add https://github.com/zchengsite/hexo-theme-oranges.git src/themes/oranges |
after that, copy theme config file from /src/themes/oranges/_config.yml
to /src
and rename it as _config.oranges.yml
. then edit it for what you want.
More info: Oranges
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo s |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment