|
@@ -1,6 +1,6 @@
|
|
|
### Masuit.MyBlogs
|
|
|
<a href="https://gitee.com/masuit/Masuit.MyBlogs"><img src="https://gitee.com/static/images/logo-black.svg" height="32"></a> <a href="https://github.com/ldqk/Masuit.MyBlogs"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Font_Awesome_5_brands_github.svg/54px-Font_Awesome_5_brands_github.svg.png" height="32"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/29/GitHub_logo_2013.svg/128px-GitHub_logo_2013.svg.png" height="32"></a>
|
|
|
-个人博客站项目源码,高性能低占用的博客系统,这也许是我写过的性能最高的web项目了。**仅1MB的代码量!** 目前日均处理请求数80-300w次,同时在线活跃用户数30-200人,**数据量累计已达到数百万条**,数据库+Redis+网站主程序同时运行在一台2核4GB的机器上,浏览器页面请求秒级响应,CPU平均使用率控制在10%左右,内存控制在1GB左右占用。
|
|
|
+个人博客站项目源码,高性能低占用的博客系统,这也许是我写过的性能最高的web项目了。**仅1MB的代码量!** 目前日均处理请求数80-300w次,同时在线活跃用户数30-200人,**数据量累计已达到数百万条**,数据库+Redis+网站主程序同时运行在一台2核4GB的机器上,浏览器页面请求秒级响应,CPU平均使用率控制在10%左右,内存控制在1GB左右占用。**数据库支持SQL Server、mysql、PostgreSQL、sqlite的无缝切换。**
|
|
|

|
|
|

|
|
|

|
|
@@ -180,7 +180,7 @@ angularjs
|
|
|
#### 1.安装基础设施:
|
|
|
1. 安装.net6运行时:[https://dotnet.microsoft.com/zh-cn/download](https://dotnet.microsoft.com/zh-cn/download)
|
|
|
2. 安装mysql:[mysql 8 绿色版](https://masuit.org/1567),或pgsql:[pgsql 14 绿色版](https://masuit.org/2160)
|
|
|
-3. 安装redis:[redis for windows 5.0.14绿色版](https://masuit.org/1567)
|
|
|
+3. 安装redis:[redis for windows绿色版](https://masuit.org/1567)
|
|
|
#### 2.生成网站应用
|
|
|
#### 方式一:编译源代码:
|
|
|
编译需要将[Masuit.Tools](https://github.com/ldqk/Masuit.Tools)项目和[Masuit.LuceneEFCore.SearchEngine](https://github.com/ldqk/Masuit.LuceneEFCore.SearchEngine)项目也一起clone下来,和本项目平级目录存放,才能正常编译,否则,将[Masuit.Tools](https://github.com/ldqk/Masuit.Tools)项目和[Masuit.LuceneEFCore.SearchEngine](https://github.com/ldqk/Masuit.LuceneEFCore.SearchEngine)项目移除,通过nuget安装也是可以的。
|
|
@@ -188,7 +188,8 @@ angularjs
|
|
|
#### 方式二:下载编译好的现成的二进制文件
|
|
|
前往[Release](https://github.com/ldqk/Masuit.MyBlogs/releases)下载最新的压缩包解压即可。
|
|
|
#### 3.还原数据库脚本
|
|
|
-创建数据库,名称随意,如:myblogs,然后前往[Release](https://github.com/ldqk/Masuit.MyBlogs/releases)或[https://github.com/ldqk/Masuit.MyBlogs/tree/master/database/mysql](https://github.com/ldqk/Masuit.MyBlogs/tree/master/database/mysql)下载最新的数据库文件,还原到新建的数据库。
|
|
|
+创建数据库,名称随意,如:myblogs,然后前往[Release](https://github.com/ldqk/Masuit.MyBlogs/releases)或[https://github.com/ldqk/Masuit.MyBlogs/tree/master/database/mysql](https://github.com/ldqk/Masuit.MyBlogs/tree/master/database/mysql)下载最新的数据库文件,还原到新建的数据库。
|
|
|
+如果没有你目标数据库类型的还原文件,你可以先还原到mysql或pgsql中,然后使用[Full Convert](https://masuit.org/2163)转换成你需要的目标数据库类型即可。
|
|
|
#### 4.修改配置文件:
|
|
|
主要需要配置的是https证书、数据库连接字符、redis、BaiduAK以及图床配置,其他配置均为可选项,不配置则表示不启用;
|
|
|

|