lushuncheng 4 years ago
parent
commit
d98b3ed080
1 changed files with 10 additions and 10 deletions
  1. 10 10
      README.md

+ 10 - 10
README.md

@@ -17,13 +17,13 @@
 
 ### 部署步骤
 
-1、新建网站根目录,例:/var/www/html
-2、解压代码到该目录
-3、拷贝目录下的.example.env 文件为.env,即:cp .example.env .env
-4、修改.env 里面的数据库,redis,微博 API 接口相关配置,特别注意将 APP_DEBUG 设置成 false
-5、在目录下创建 runtime 目录,并给网站运行用户,即 php-fpm 用户写权限
-6、配置 nginx , https 相关配置请自行参考 nginx 相关教程,或者在 LVS 负载均衡层配置
-vhost 参考配置:
+- 1、新建网站根目录,例:/var/www/html
+- 2、解压代码到该目录
+- 3、拷贝目录下的.example.env 文件为.env,即:cp .example.env .env
+- 4、修改.env 里面的数据库,redis,微博 API 接口相关配置,特别注意将 APP_DEBUG 设置成 false
+- 5、在目录下创建 runtime 目录,并给网站运行用户,即 php-fpm 用户写权限
+- 6、配置 nginx , https 相关配置请自行参考 nginx 相关教程,或者在 LVS 负载均衡层配置
+  vhost 参考配置:
 
 ```
 log_format logid '[$time_local] "$host" "$http_x_real_ip" "$http_x_forwarded_for" "$remote_addr" "$remote_user" "$request" "$request_time" "$request_length" "$body_bytes_sent" "$status" '
@@ -91,8 +91,8 @@ fastcgi_param PATH_INFO $fastcgi_path_info; #增加这一句
 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 ```
 
-7、配置 fpm
-配置参考:
+- 7、配置 fpm
+  配置参考:
 
 ```
 [www]
@@ -136,7 +136,7 @@ php_admin_value[memory_limit] = 64M
 env[ENV] = prod
 ```
 
-8、导入根目录下的 sql.sql 文件
+- 8、导入根目录下的 sql.sql 文件
 
 ## 注解权限