1 | Study note for ROS |
1 | Study note for ROS |
This post record the steps I set up this blog site.
Installation
Use following command to confirm:
1 | $ node -v |
Create and copy SSH key:
1 | $ ssh-keygen -t rsa -C "GitHub email" |
Copy the contents
Go to Github -> Settings and Add SSH key
Confirm the connection:
1 | $ ssh -T git@github.com |
Create Username.github.io(your URL)
1 | $ npm install -g hexo-cli |
Setup a local workspace:
1 | $ git init |
launch local server:
1 | $ hexo cl |
or use following command to specify port:
1 | $ hexo server -p 5000 |
visit http://localhost:4000
Install hexo-developer-git:
1 | $ npm install hexo-deployer-git --save |
edit _config file’s Deployment part:
1 | deploy: |
then run in bash:
1 | $ hexo d |
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.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment