Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apetenchea/cdroot
Blog
https://github.com/apetenchea/cdroot
hexo-blog
Last synced: about 22 hours ago
JSON representation
Blog
- Host: GitHub
- URL: https://github.com/apetenchea/cdroot
- Owner: apetenchea
- License: mit
- Created: 2019-09-02T22:03:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T19:27:19.000Z (21 days ago)
- Last Synced: 2024-10-29T21:36:40.796Z (21 days ago)
- Topics: hexo-blog
- Language: Python
- Homepage: https://apetenchea.github.io/
- Size: 47 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cd /root
This is the source of https://apetenchea.github.io.
If you want to set up a similar blog, here's a nice [article](https://angelkyriako.github.io/2017/01/24/hexo-tutorial/).## Additional dependencies
In case you ever need to reinitialize the blog, install these packages afterwards.
```
npm install hexo-deployer-git --save
npm install hexo-renderer-marked --save
npm install hexo-tag-github-code --save
npm install mathjax@3 --save
```
In order to host [MathJax](https://github.com/mathjax/MathJax) yourself, move the `es5` folder into `source/javascript/mathjax`:
```bash
mv node_modules/mathjax/es5 source/javascript/mathjax
```
At the bottom of the pages that use MathJax, add the following line:
```html```
## Hexo commands
`hexo -v` - version information
`hexo init cdroot` - initialize site (only during repo creation)
`hexo server` - start local server
`hexo new post "title"` - create a new post
`hexo s -o` - start server and open the blog page in browser## Deploy
```
hexo clean
hexo generate
hexo deploy
```