升级方法

This commit is contained in:
Edward Yang 2022-12-21 09:28:38 +08:00
parent 051e1d9790
commit 2288afd01f
1 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ PHP语言开发基于 Laravel 框架,前端 Blade 模版 + Vue
1. 将解压文件夹下的 public 设置为网站根目录
1. 通过浏览器访问网站根据提示完成安装
1. <a href="https://docs.beikeshop.com/install/bt.html" target="_blank">BeikeShop详细安装指引</a>
1. 如需升级请,下载最新版覆盖到服务器后网站根目录运行`composer install && php artisan migrate`
## 安装教程(面向开发者)
1. 打开命令行克隆代码 `git clone https://gitee.com/beikeshop/beikeshop.git`
@ -43,7 +44,8 @@ PHP语言开发基于 Laravel 框架,前端 Blade 模版 + Vue
1. 接着执行 `cp .env.example .env` 创建配置文件
1. 接着执行 `npm install`node 版本需16+ 以及 `npm run dev` 编译前端 js 和 css 文件
1. 将项目文件夹下的 `public` 设置为网站根目录
1. 通过浏览器访问网站, 根据提示完成安装
1. 通过浏览器访问网站, 根据提示完成安装
1. 如需升级请在服务器端网站根目录运行`git pull && composer install && php artisan migrate`
## 参与贡献
1. Fork 本仓库