Skip to content

numericalEFT/develop_tutorial_hexo

Repository files navigation

Infrastructure

How to use Hexo and deploy to GitHub Pages

1. Install Hexo

$ sudo npm install -g hexo-cli

$ hexo -v
hexo-cli: 0.1.9
os: Darwin 14.3.0 darwin x64
http_parser: 2.3
node: 0.12.7
v8: 3.28.71.19
uv: 1.6.1
zlib: 1.2.8
modules: 14
openssl: 1.0.1p

2. Add new post to the repo and deploy to Github

  1. Clone the content repo to local.
  2. In the root folder of the local repo, run "npm install".
  3. Run "hexo new post-name.md" to generate a new post in "source" folder. Note that the command will create a new markdown file as well as a folder for attachments.
  4. Run "hexo g" to generate the website.
  5. Run "hexo server" to preview the website on your local computer.
  6. Run "hexo d" to deploy the new website to webpage repo

About

hexo-driven website to host the technical documents

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •