您现在的位置是:首页 > 文章详情

【店滴云】免费的民宿管理系统,修复安装中的 bug

日期:2024-04-22点击:174

【店滴云】免费的民宿管理系统,修复安装中的bug

安装bug预览:

数据库脚本已升级,执行安装即可:

 # 安装  # 环境准备:   Php>=8.1  Redis 7.0.0  MySQL 5.6.50   # 第一步:git 下载代码  ``` git clone https://gitee.com/wayfirer/ddicms.git  ```  # 第二步:composer 扩展安装  ``` cd 你的项目根路径 php composer.phar install  ```  # 注:第一步和第二步也可以合并,缺点是后续git更新不方便,优点是安装快捷  ``` composer create-project ddicloud/ddicms  ```  # 第三步:执行安装命令  ```   php ./yii install  说明:提醒输入数据库版本,请输入:1.0.0  ```  # 第五步:Nginx 部署配置  首先解析网站到 frontend,然后配置 nginx 如下:  ``` server {  listen 80;  server_name www.ai.com;  root "ddicms/frontend";  add_header Access-Control-Allow-Origin *;  add_header Access-Control-Allow-Headers X-Requested-With,Authorization,Content-Type,access-token,bloc-id,store-id;  add_header Access-Control-Allow-Methods GET,POST,OPTIONS,PUT,DELETE;  location / {  index index.php index.html error/index.html;  error_page 400 /error/400.html;  error_page 403 /error/403.html;  error_page 404 /error/404.html;  error_page 500 /error/500.html;  error_page 501 /error/501.html;  error_page 502 /error/502.html;  error_page 503 /error/503.html;  error_page 504 /error/504.html;  error_page 505 /error/505.html;  error_page 506 /error/506.html;  error_page 507 /error/507.html;  error_page 509 /error/509.html;  error_page 510 /error/510.html;  include D:/www/firetech/frontend/web/nginx.htaccess;  autoindex off;  }  location ~ \\.php(.*)$ {  fastcgi_pass 127.0.0.1:9001;  fastcgi_index index.php;  fastcgi_split_path_info ^((?U).+\\.php)(/?.+)$;  fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;  fastcgi_param PATH_INFO $fastcgi_path_info;  fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;  include fastcgi_params;  }  location /backend {  index index.html index.php;  if (!-e $request_filename)  {  rewrite ^/backend/(.*)$ /backend/index.html last;  }  }  location /api {  index index.php index.html;  if (!-e $request_filename)  {  rewrite ^/api/(.*)$ /api/index.php last;  }  if (!-f $request_filename){  set $rule_0 1$rule_0;  }  }   location /admin {  index index.php index.html;  if (!-e $request_filename)  {  rewrite ^/admin/(.*)$ /admin/index.php last;  }  if (!-f $request_filename){  set $rule_0 1$rule_0;  }  }   location /help {  index index.php index.html;  if (!-e $request_filename)  {  rewrite ^/help/(.*)$ /help/index.php last;  }  if (!-f $request_filename){  set $rule_0 1$rule_0;  }  }  gzip on;  gzip_comp_level 5;  gzip_min_length 256;  gzip_proxied any;  gzip_vary on; }  ``` # 特别鸣谢  感谢以下的项目,排名不分先后  - Yiihttp://www.yiiframework.com  - EasyWechathttps://www.easywechat.com  - Vue: https://vuejs.org/  - vue-ele-form: https://github.com/dream2023/vue-ele-form  - element-ui: https://element.eleme.cn/  - https://www.swoole.com/
原文链接:https://www.oschina.net/news/288808/ddiot-updated
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章