https://github.com/52cik/hexo-admin-cn
Hexo Admin 中文版本
https://github.com/52cik/hexo-admin-cn
Last synced: about 1 month ago
JSON representation
Hexo Admin 中文版本
- Host: GitHub
- URL: https://github.com/52cik/hexo-admin-cn
- Owner: 52cik
- License: mit
- Created: 2016-04-07T08:51:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T13:24:35.000Z (about 9 years ago)
- Last Synced: 2025-04-18T13:12:30.760Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://jaredly.github.io/hexo-admin/
- Size: 1.64 MB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hexo Admin 中文版 (自改版)
> 只是简单汉化了下原版而已 (添加了关键词,描述字段)
## 安装
```sh
npm install --save hexo-admin-cn
```其他使用都跟原版一致。

An admin UI for the [Hexo blog engine](http://hexo.io). Based off of the [Ghost](http://ghost.org) interface, with inspiration from [svbtle](http://svbtle.com) and [prose.io](http://prose.io).
## Hexo Version
For 2.x, use version `0.3.0` of this plugin. Version `1.x` and beyond only
support Hexo v3.x.### Contents
- [**Screenshots**](#screenshots)
- [**Quickstart**](#quickstart)
- [**Credits**](#credits)# Screenshots

# Quickstart
### 1. Setup hexo & create a blog
```sh
npm install -g hexo
cd ~/
hexo init my-blog
cd my-blog
npm install
```
### 2. Install the admin & start things up
```sh
npm install --save hexo-admin
hexo server -d
open http://localhost:4000/admin/
```
### 3. Profit!
The UI should be pretty discoverable -- let me know if you can't find something.### 4. Password protection
If you're using Hexo admin on your live server, you want some password
protection. To enable this, you just add a few config variables to your hexo
`_config.yml`:```
admin:
username: myfavoritename
password_hash: be121740bf988b2225a313fa1f107ca1
secret: a secret something
```The `password_hash` is the bcrypt hash of your password. You can use [this
site](https://www.bcrypt-generator.com/) to come up with that, or whatever you
want. The `secret` is used to make the cookies secure, so it's a good idea to
have it be long and complicated.Once that's in place, start up your hexo server and going to `/admin/` will
require you to enter your password.### 5. Contribute!
- let me know how it can be improved in the [github
issues](https://github.com/jaredly/hexo-admin/issues)
- [fork](https://github.com/jaredly/hexo-admin) and pull-request# Credits
built with ❤ by [Jared Forsyth](http://jaredly.github.io)
([@jaredforsyth](http://twitter.com/jaredforsyth)) using
[react](http://facebook.github.io/react), [browserify](
http://browserify.org), and [less](http://lesscss.org).