Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/numericaleft/develop_tutorial_hexo
hexo-driven website to host the technical documents
https://github.com/numericaleft/develop_tutorial_hexo
documentation hexo
Last synced: about 1 month ago
JSON representation
hexo-driven website to host the technical documents
- Host: GitHub
- URL: https://github.com/numericaleft/develop_tutorial_hexo
- Owner: numericalEFT
- Created: 2021-08-22T02:14:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-06T17:03:42.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T02:38:03.743Z (almost 2 years ago)
- Topics: documentation, hexo
- Language: EJS
- Homepage: https://numericaleft.github.io/develop_tutorial_hexo/
- Size: 1.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infrastructure
- The [website](https://numericaleft.github.io/developer_tutorial/) is powered by hexo
- There are two relevant repos: [content repo](https://github.com/numericalEFT/develop_tutorial_hexo) and [webpage repo](https://github.com/numericalEFT/developer_tutorial)
- The theme is [minima](https://github.com/adisaktijrs/hexo-theme-minima)
# How to use Hexo and deploy to GitHub Pages
* https://github.com/hexojs/hexo
* https://hexo.io/docs/
* https://gist.github.com/btfak/18938572f5df000ebe06fbd1872e4e39## 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](https://github.com/numericalEFT/develop_tutorial_hexo) 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](https://github.com/numericalEFT/developer_tutorial)