no message

This commit is contained in:
kuaifan 2022-04-01 14:41:34 +08:00
parent 8c39a81644
commit 9dad51fa0b
12 changed files with 59 additions and 15 deletions

View File

@ -86,7 +86,7 @@ proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 2、Enter directory and run command
# 2、Running commands in a project
./cmd https
```
@ -95,7 +95,7 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
**Note: Please back up your data before upgrading!**
```bash
# Method 1: enter directory and run command
# Method 1: Running commands in a project
./cmd update
# Or method 2: use this method if method 1 fails
@ -108,9 +108,28 @@ git pull
If 502 after the upgrade please run `./cmd restart` restart the service.
## Transfer
Follow these steps to complete the project migration after the new project is installed:
1. Backup original database
```bash
# Run command under old project
./cmd mysql backup
```
2. Copy `database backup file` and `public/uploads` directory to the new project.
3. Restore database to new project
```bash
# Run command under new project
./cmd mysql recovery
```
## Uninstall
```bash
# Enter directory and run command
# Running commands in a project
./cmd uninstall
```

View File

@ -87,7 +87,7 @@ proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 2、进入项目所在目录,运行以下命令
# 2、在项目下运行命令
./cmd https
```
@ -96,7 +96,7 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
**注意:在升级之前请备份好你的数据!**
```bash
# 方法1进入项目所在目录,运行以下命令
# 方法1在项目下运行命令
./cmd update
# 或者方法2如果方法1失败请使用此方法
@ -109,9 +109,28 @@ git pull
如果升级后出现502请运行 `./cmd restart` 重启服务即可。
## 迁移项目
在新项目安装好之后按照以下步骤完成项目迁移:
1、备份原数据库
```bash
# 在旧的项目下运行命令
./cmd mysql backup
```
2、将`数据库备份文件``public/uploads`目录拷贝至新项目
3、还原数据库至新项目
```bash
# 在新的项目下运行命令
./cmd mysql recovery
```
## 卸载项目
```bash
# 进入项目所在目录,运行以下命令
# 在项目下运行命令
./cmd uninstall
```

View File

@ -109,13 +109,15 @@
{
"target": "nsis",
"arch": [
"x64"
"x64",
"arm64"
]
},
{
"target": "msi",
"arch": [
"x64"
"x64",
"arm64"
]
}
]

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.12.75",
"version": "0.12.77",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",

2
public/css/app.css vendored

File diff suppressed because one or more lines are too long

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
915b2c852fe637b2
cd59275006599f5b

View File

@ -57,6 +57,7 @@
border-color: #fff;
height: 44px;
width: 44px;
overflow: hidden;
position: absolute;
top: 50%;
z-index: 2;

View File

@ -9,7 +9,7 @@
<div v-if="loading" class="project-load"><Loading/></div>
</div>
<ul class="project-icons">
<li class="project-avatar" @click="projectDropdown('user')">
<li class="project-avatar" :class="{'cursor-default': projectData.owner_userid !== userId}" @click="projectDropdown('user')">
<ul>
<li>
<UserAvatar :userid="projectData.owner_userid" :size="36" :borderWitdh="2" :openDelay="0">

View File

@ -61,6 +61,9 @@
&:hover {
box-shadow: 0 0 6px #cccccc;
}
&.cursor-default {
cursor: default;
}
&.project-avatar {
width: auto;
min-width: 36px;