mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-05-05 15:02:12 +08:00
Remake Repository
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
# Hexo
|
||||
|
||||
> 一个快速、简单且功能强大的博客框架,由[Node.js](https://nodejs.org/)提供支持。
|
||||
|
||||
[网站](https://hexo.io/)| [文档](https://hexo.io/docs/)| [安装指南](https://hexo.io/docs/#Installation)| [贡献指南](https://hexo.io/docs/contributing)| [行为准则](https://github.com/hexojs/hexo/blob/master/CODE_OF_CONDUCT.md)| [API](https://hexo.io/api/) | [Twitter](https://twitter.com/hexojs)
|
||||
|
||||
## 特征
|
||||
|
||||
- 快速生成
|
||||
- 支持 GitHub Flavored Markdown 和大多数 Octopress 插件
|
||||
- 一条命令即可部署到 GitHub Pages、Heroku 等。
|
||||
- 强大的 API,实现无限扩展
|
||||
- 数百个[主题](https://hexo.io/themes/)和[插件](https://hexo.io/plugins/)
|
||||
|
||||
## 快速入门
|
||||
|
||||
**安装 Hexo**
|
||||
|
||||
```
|
||||
$ npm install hexo-cli -g
|
||||
```
|
||||
|
||||
在 macOS 和 Linux 上使用[brew](https://brew.sh/)安装:
|
||||
|
||||
```
|
||||
$ brew install hexo
|
||||
```
|
||||
|
||||
**设置你的博客**
|
||||
|
||||
```
|
||||
$ hexo init blog
|
||||
$ cd blog
|
||||
```
|
||||
|
||||
**启动服务器**
|
||||
|
||||
```
|
||||
$ hexo server
|
||||
```
|
||||
|
||||
**创建新帖子**
|
||||
|
||||
```
|
||||
$ hexo new "Hello Hexo"
|
||||
```
|
||||
|
||||
**生成静态文件**
|
||||
|
||||
```
|
||||
$ hexo generate
|
||||
```
|
||||
|
||||
## 更多信息
|
||||
|
||||
- 阅读[文档](https://hexo.io/)
|
||||
- 访问[精彩 Hexo](https://github.com/hexojs/awesome-hexo)列表
|
||||
- [在故障排除](https://hexo.io/docs/troubleshooting.html)中寻找解决方案
|
||||
- 加入[Google Group](https://groups.google.com/group/hexo)、[Discord](https://discord.gg/teM2Anj)、[Gitter](https://gitter.im/hexojs/hexo)或[Telegram上的讨论](https://t.me/hexojs)
|
||||
- 请参阅wiki 上的[插件列表](https://hexo.io/plugins/)和[主题列表](https://hexo.io/themes/)
|
||||
- 关注[@hexojs](https://twitter.com/hexojs)了解最新消息
|
||||
@@ -0,0 +1,69 @@
|
||||
<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
|
||||
@@ -0,0 +1,22 @@
|
||||
name: Hexo
|
||||
tags:
|
||||
- 建站
|
||||
title: 快速、简洁且高效的博客框架
|
||||
description: 快速、简洁且高效的博客框架
|
||||
additionalProperties:
|
||||
key: hexo
|
||||
name: Hexo
|
||||
tags:
|
||||
- Website
|
||||
shortDescZh: 快速、简洁且高效的博客框架
|
||||
shortDescEn: A fast, simple & powerful blog framework
|
||||
description:
|
||||
zh: 快速、简洁且高效的博客框架
|
||||
en: A fast, simple & powerful blog framework
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://hexo.io/
|
||||
github: https://github.com/hexojs/hexo
|
||||
document: https://hexo.io/docs/
|
||||
@@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME="hexo"
|
||||
PANEL_APP_PORT_HTTP="40064"
|
||||
DATA_PATH="./data"
|
||||
GIT_USERNAME="gituser"
|
||||
GIT_MAIL="user@email.com"
|
||||
@@ -0,0 +1,24 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40064
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: GIT_USERNAME
|
||||
labelEn: Git username
|
||||
labelZh: Git 用户名
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: GIT_MAIL
|
||||
labelEn: Git Email
|
||||
labelZh: Git 邮箱
|
||||
required: true
|
||||
type: text
|
||||
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
hexo:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:4000"
|
||||
volumes:
|
||||
- hexo_data:/app
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Asia/Shanghai
|
||||
- GIT_USER=${GIT_USERNAME}
|
||||
- GIT_EMAIL=${GIT_MAIL}
|
||||
image: bloodstar/hexo:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
volumes:
|
||||
hexo_data:
|
||||
name: hexo_data
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
@@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME="hexo"
|
||||
PANEL_APP_PORT_HTTP="40064"
|
||||
@@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40064
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
hexo:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:4000"
|
||||
volumes:
|
||||
- hexo_data:/home/hexo/.hexo
|
||||
image: taskbjorn/hexo:main
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
volumes:
|
||||
hexo_data:
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user