@@ -156,12 +156,10 @@ $ systemctl restart supervisord
## 升级更新
-- 进入服务器,切换至网站目录,然后依次运行一下命令:
+- 将最新的代码上传至站点;
+- 进入服务器,切换至站点目录,然后依次运行以下命令:
```bash
-$ git fetch --all
-$ git reset --hard origin/master
-$ git pull
$ composer install
$ php artisan migrate
@@ -82,7 +82,7 @@ $ ./cmd mysql "your command" // 运行 mysql 命令
-- 进入目录,依次运行一下命令:
+- 进入目录,依次运行以下命令:
$ git fetch --all
@@ -148,7 +148,7 @@ server {
@@ -82,7 +82,7 @@ $ ./cmd mysql "your command" // To run a mysql command
## Upgrade
-- Enter the directory and run the following command in turn:
+- Go to the directory and run the following commands in turn: