|
4 | 4 |
|
5 | 5 | <h1>Easy-Blog</h1>
|
6 | 6 |
|
7 |
| -Easy-Blog is a very easy blog system that integrates article publishing, page creation, knowledge management, blog management and other functions. |
| 7 | +Easy-Blog 是一套集成文章发表、页面创建、知识库管理、博客后台管理等功能于一体的博客系统。 |
8 | 8 |
|
9 | 9 | [](https://github.com/fecommunity/easy-blog/blob/master/LICENSE)[](https://github.com/fecommunity/easy-blog/blob/master/package.json) [](https://github.com/fecommunity/easy-blog/blob/master/client/tsconfig.json) [](https://github.com/fecommunity/easy-blog/pulls)
|
10 | 10 |
|
11 |
| -[Issues](https://github.com/fecommunity/easy-blog/issues) · [Pull Request](https://github.com/fecommunity/easy-blog/pulls) · English · [中文](./README-zh_CN.md) |
| 11 | +[报告问题](https://github.com/fecommunity/easy-blog/issues) · [参与共建](https://github.com/fecommunity/easy-blog/pulls) · [English](./README-en_US.md) · 中文 |
12 | 12 | </div>
|
13 | 13 |
|
14 |
| -Light Theme |
15 |
| -[](https://gaoredu.com) |
| 14 | +首页-浅色主题 |
| 15 | +[](https://gaoredu.com) |
16 | 16 |
|
17 |
| -Dark Theme |
18 |
| -[](https://gaoredu.com) |
| 17 | +首页-暗黑主题 |
| 18 | +[](https://gaoredu.com) |
19 | 19 |
|
20 |
| -Blog Reading |
21 |
| -[](https://gaoredu.com) |
| 20 | +后台管理 |
| 21 | +[](https://gaoredu.com) |
22 | 22 |
|
23 |
| -## ✨ Features |
| 23 | +## ✨ 特性 |
24 | 24 |
|
25 |
| -- 📦 Technology Stack: Built on React+MySQL+NestJS+NextJS |
26 |
| -- 🌈 Componentization: an interactive language and visual style based on antd |
27 |
| -- 🌍 Internationalization: Supports switching between Chinese and English, with international configuration management capabilities |
28 |
| -- 🌞 Black and White Theme: Supports free switching between light and dark mode themes |
29 |
| -- 🖌️ Creation Management: Built in 'MarkDown' editor, supporting article writing, category and directory management, and tag management |
30 |
| -- 📃 Page management: supports customizing new pages |
31 |
| -- 💬 Comment management: supports content comment management |
32 |
| -- 📷 Media Management: Supports local file upload and OSS file upload |
| 25 | +- 📦 技术栈:基于 `React` + `MySQL` + `NestJS` + `NextJS` 构建 |
| 26 | +- 🌈 组件化:基于 `antd` 的交互语言和视觉风格 |
| 27 | +- 🌍 国际化:支持中英文切换,国际化配置管理能力 |
| 28 | +- 🌞 黑白主题:支持亮色和暗黑模式主题自由切换 |
| 29 | +- 🖌️ 创作管理:内置 `MarkDown` 编辑器,支持文章写文章、分类目录管理,标签管理 |
| 30 | +- 📃 页面管理:支持自定义新页面 |
| 31 | +- 💬 评论管理:支持内容评论管理 |
| 32 | +- 📷️ 媒体管理:支持文件本地上传和 `OSS` 文件上传 |
33 | 33 | - ...
|
34 | 34 |
|
35 |
| -## ⌨️ Development |
| 35 | +## ⌨️ 本地开发 |
36 | 36 |
|
37 |
| -### Environment |
| 37 | +### 环境准备 |
38 | 38 | ```bash
|
39 | 39 | $ git clone --depth=1 https://github.com/fecommnity/easy-blog.git
|
40 | 40 | $ cd easy-blog
|
41 | 41 | $ npm i -g pnpm
|
42 | 42 | $ pnpm i
|
43 | 43 | ```
|
44 | 44 |
|
45 |
| -### Configuration |
| 45 | +### 配置文件 |
46 | 46 |
|
47 |
| -After the project starts, the `. env ` configuration file in the root directory will be loaded. Please ensure that the MySQL database service is consistent with the following configuration, and create the ` easy-blog ` database in advance |
| 47 | +项目启动后会加载根目录下的 `.env` 配置文件,请确保MySQL数据库服务和下面的配置保持一致,并提前创建好 `easy_blog` 数据库 |
48 | 48 |
|
49 | 49 | ```js
|
50 |
| -DB_HOST=127.0.0.1 // Default Database Host |
51 |
| -DB_PORT=3306 // Default Database Port |
52 |
| -DB_USER=admin // Default Username |
53 |
| -DB_PASSWD=admin // Default Password |
54 |
| -DB_DATABASE=easy_blog // Default Database Name |
| 50 | +DB_HOST=127.0.0.1 // 数据库地址 |
| 51 | +DB_PORT=3306 // 端口 |
| 52 | +DB_USER=admin // 用户名 |
| 53 | +DB_PASSWD=admin // 密码 |
| 54 | +DB_DATABASE=easy_blog // 数据库 |
55 | 55 | ```
|
56 | 56 |
|
57 |
| -After the environment is ready, execute the startup shell: |
| 57 | +环境准备好后,执行启动命令: |
58 | 58 |
|
59 | 59 | ```bash
|
60 | 60 | $ pnpm run dev
|
61 | 61 | ```
|
62 | 62 |
|
63 |
| -Open your browser and visit http://127.0.0.1:3001 |
| 63 | +打开浏览器访问 http://127.0.0.1:3001 |
64 | 64 |
|
65 | 65 |
|
66 |
| -## 🔗 Links |
| 66 | +## 🔗 链接 |
67 | 67 |
|
68 |
| -- [Home](https://github.com/fecommunity/easy-blog) |
69 |
| -- [Easy Blog](https://gaoredu.com) |
70 |
| -- [Issues](https://github.com/fecommunity/easy-blog/issues) |
71 |
| -- [Pull Request](https://github.com/fecommunity/easy-blog/pulls) |
72 |
| -- [next.js](https://github.com/vercel/next.js) |
73 |
| -- [nest.js](https://github.com/nestjs/nest) |
| 68 | +- [首页](https://github.com/fecommunity/easy-blog) |
| 69 | +- [高热度网](https://gaoredu.com) |
| 70 | +- [报告问题](https://github.com/fecommunity/easy-blog/issues) |
| 71 | +- [参与共建](https://github.com/fecommunity/easy-blog/pulls) |
| 72 | +- [next.js 源码](https://github.com/vercel/next.js) |
| 73 | +- [nest.js 源码](https://github.com/nestjs/nest) |
74 | 74 |
|
75 | 75 |
|
| 76 | +> 强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/%7Esgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。 |
76 | 77 |
|
77 |
| -## 👥 Contributing |
| 78 | +## 👥 社区互助 |
78 | 79 |
|
79 |
| -We warmly invite contributions from everyone. Before you get started, please take a moment to review our [Contributing Guide](https://ant.design/docs/react/contributing). Feel free to share your ideas through [Pull Requests](https://github.com/ant-design/ant-design/pulls) or [GitHub Issues](https://github.com/ant-design/ant-design/issues). If you're interested in enhancing our codebase, explore the [Development Instructions](https://github.com/ant-design/ant-design/wiki/Development) and enjoy your coding journey! :) |
| 80 | +如果您在使用的过程中碰到问题,可以通过下面几个途径寻求帮助,同时我们也鼓励资深用户通过下面的途径给新人提供帮助。 |
| 81 | +<div> |
| 82 | +<a href="https://gaoredu.com" title="高热度网"><img height="200" src="https://www.gaoredu.com/wp-content/uploads/2024/08/WechatIMG23.jpg"></a> |
| 83 | +</div> |
80 | 84 |
|
81 |
| -1. [GitHub Discussions](https://github.com/ant-design/ant-design/discussions) |
82 |
| -2. [Stack Overflow](http://stackoverflow.com/questions/tagged/antd)(English) |
83 |
| -3. [Segment Fault](https://segmentfault.com/t/antd)(Chinese) |
| 85 | +通过 WeChat 联系,可通过搜素微信号 `red_tea_v2` 或扫码加入 ,并备注来源。 |
| 86 | + |
| 87 | +通过 GitHub Discussions 提问时,建议使用 `Q&A` 标签。 |
84 | 88 |
|
| 89 | +通过 Stack Overflow 或者 Segment Fault 提问时,建议加上 `easy-blog` 标签。 |
| 90 | + |
| 91 | + |
| 92 | +1. [GitHub Discussions](https://github.com/ant-design/ant-design/discussions) |
| 93 | +2. [Stack Overflow](http://stackoverflow.com/questions/tagged/antd)(英文) |
| 94 | +3. [Segment Fault](https://segmentfault.com/t/antd)(中文) |
85 | 95 |
|
86 |
| -You can also send me an email: [email protected] |
| 96 | + |
0 commit comments