70 lines
1.8 KiB
Markdown
70 lines
1.8 KiB
Markdown
<img src="https://raw.githubusercontent.com/hexojs/logo/master/hexo-logo-avatar.png" alt="Hexo logo" width="100" height="100" align="right" />
|
|
|
|
# Hexo
|
|
|
|
> A fast, simple & powerful blog framework, powered by [Node.js](https://nodejs.org).
|
|
|
|
[Website](https://hexo.io) |
|
|
[Documentation](https://hexo.io/docs/) |
|
|
[Installation Guide](https://hexo.io/docs/#Installation) |
|
|
[Contribution Guide](https://hexo.io/docs/contributing) |
|
|
[Code of Conduct](CODE_OF_CONDUCT.md) |
|
|
[API](https://hexo.io/api/) |
|
|
[Twitter](https://twitter.com/hexojs)
|
|
|
|
## Features
|
|
|
|
- Blazing fast generating
|
|
- Support for GitHub Flavored Markdown and most Octopress plugins
|
|
- One-command deploy to GitHub Pages, Heroku, etc.
|
|
- Powerful API for limitless extensibility
|
|
- Hundreds of [themes](https://hexo.io/themes/) & [plugins](https://hexo.io/plugins/)
|
|
|
|
## Quick Start
|
|
|
|
**Install Hexo**
|
|
|
|
``` bash
|
|
$ npm install hexo-cli -g
|
|
```
|
|
|
|
Install with [brew](https://brew.sh/) on macOS and Linux:
|
|
|
|
```bash
|
|
$ brew install hexo
|
|
```
|
|
|
|
**Setup your blog**
|
|
|
|
``` bash
|
|
$ hexo init blog
|
|
$ cd blog
|
|
```
|
|
|
|
**Start the server**
|
|
|
|
``` bash
|
|
$ hexo server
|
|
```
|
|
|
|
**Create a new post**
|
|
|
|
``` bash
|
|
$ hexo new "Hello Hexo"
|
|
```
|
|
|
|
**Generate static files**
|
|
|
|
``` bash
|
|
$ hexo generate
|
|
```
|
|
|
|
## More Information
|
|
|
|
- Read the [documentation](https://hexo.io/)
|
|
- Visit the [Awesome Hexo](https://github.com/hexojs/awesome-hexo) list
|
|
- Find solutions in [troubleshooting](https://hexo.io/docs/troubleshooting.html)
|
|
- Join discussion on [Google Group](https://groups.google.com/group/hexo), [Discord](https://discord.gg/teM2Anj), [Gitter](https://gitter.im/hexojs/hexo) or [Telegram](https://t.me/hexojs)
|
|
- See the [plugin list](https://hexo.io/plugins/) and the [theme list](https://hexo.io/themes/) on wiki
|
|
- Follow [@hexojs](https://twitter.com/hexojs) for latest news
|