Skip to content

Commit

Permalink
调整项目的路径
Browse files Browse the repository at this point in the history
Signed-off-by: allan716 <525223688@qq.com>
  • Loading branch information
allanpk716 committed Jan 4, 2023
1 parent 8cb8bd4 commit 0df745b
Show file tree
Hide file tree
Showing 212 changed files with 926 additions and 923 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/----bug----.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ assignees: ""
> 是否看过对应的目录结构要求文档?
- [电影的推荐目录结构](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E5%92%8C%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E7%A4%BA%E4%BE%8B.md)
- [连续剧目录结构要求](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)
- [电影的推荐目录结构](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E5%92%8C%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E7%A4%BA%E4%BE%8B.md)
- [连续剧目录结构要求](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)

## 请给出当次问题的完整日志

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_BUG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ assignees: ""
>
> 在程序运行日志头部或者 Web UI 可以看到
## 你看过[提问前,建议先看这里的排查问题的建议和步骤](https://github.com/allanpk716/ChineseSubFinder/issues/585) 了吗?
## 你看过[提问前,建议先看这里的排查问题的建议和步骤](https://github.com/ChineseSubFinder/ChineseSubFinder/issues/585) 了吗?

> No?那就先看看。
Expand Down
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,60 +13,60 @@

后续会长期支持两个方向的 Docker 镜像,差异见 [Docker 部署教程](docker/readme.md)

1. 全功能版本 `allanpk716/chinesesubfinder:latest`
2. 轻量化版本 `allanpk716/chinesesubfinder:latest-lite`
1. 全功能版本 `ChineseSubFinder/ChineseSubFinder:latest`
2. 轻量化版本 `ChineseSubFinder/ChineseSubFinder:latest-lite`

如果使用了国内 Docker 镜像源,可能 latest 无法正确拉取到最新,那么请指定具体的 tag 去拉取,举例:

1. `allanpk716/chinesesubfinder:v0.33.0`
2. `allanpk716/chinesesubfinder:v0.33.0-lite`
1. `ChineseSubFinder/ChineseSubFinder:v0.33.0`
2. `ChineseSubFinder/ChineseSubFinder:v0.33.0-lite`

最新的版本可以查看 [Docker Hub](https://hub.docker.com/repository/docker/allanpk716/chinesesubfinder) ,如果不在 telegram 群内,没有特殊的需求请不要选择 **Beta** 版本使用。
最新的版本可以查看 [Docker Hub](https://hub.docker.com/repository/docker/ChineseSubFinder/ChineseSubFinder) ,如果不在 telegram 群内,没有特殊的需求请不要选择 **Beta** 版本使用。

## 前置要求

如果想顺利的用起来,还是对电影、连续剧的目录有一定的要求的。见文档:

- [电影的推荐目录结构](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E5%92%8C%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E7%A4%BA%E4%BE%8B.md)
- [连续剧目录结构要求](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)
- [电影的推荐目录结构](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E5%92%8C%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E7%A4%BA%E4%BE%8B.md)
- [连续剧目录结构要求](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)

## How to use

### 如何部署

- [Docker 部署教程](docker/readme.md)
- [如何在 Windows 上使用](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/v0.20教程/01.如何在Windows上使用.md)
- [如何在 Windows 上使用](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/v0.20教程/01.如何在Windows上使用.md)
- [Docker ChineseSubFinder--中文字幕自动下载 | sleele 的博客 - 第三方教程](https://sleele.com/2021/06/25/docker-chinesesubfinder-中文字幕自动下载/)

### 如何使用

* [使用教程](https://github.com/allanpk716/ChineseSubFinder/tree/docs/DesignFile/使用教程)
* [传参启动(v0.41.x 之后才支持)](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/传参启动/传参启动.md)
* [使用教程](https://github.com/ChineseSubFinder/ChineseSubFinder/tree/docs/DesignFile/使用教程)
* [传参启动(v0.41.x 之后才支持)](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/传参启动/传参启动.md)

### API 文档文档

- [对外的 http api](https://github.com/allanpk716/ChineseSubFinder/tree/docs/DesignFile/ApiKey%E8%AE%BE%E8%AE%A1),以及[示例](https://github.com/allanpk716/ChineseSubFinder/issues/336)
- [对外的 http api](https://github.com/ChineseSubFinder/ChineseSubFinder/tree/docs/DesignFile/ApiKey%E8%AE%BE%E8%AE%A1),以及[示例](https://github.com/ChineseSubFinder/ChineseSubFinder/issues/336)

### 高阶设置

- [字幕时间轴校正 V2](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E5%AD%97%E5%B9%95%E6%97%B6%E9%97%B4%E8%BD%B4%E6%A0%A1%E6%AD%A3V2.md),有待更新 v0.20.x 对应的设置
- [字幕时间轴校正 V2](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E5%AD%97%E5%B9%95%E6%97%B6%E9%97%B4%E8%BD%B4%E6%A0%A1%E6%AD%A3V2.md),有待更新 v0.20.x 对应的设置

建议了解的文档:

- [关于字幕名称命名格式说明](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E5%85%B3%E4%BA%8E%E5%AD%97%E5%B9%95%E5%90%8D%E7%A7%B0%E5%91%BD%E5%90%8D%E6%A0%BC%E5%BC%8F%E8%AF%B4%E6%98%8E.md)
- [关于字幕名称命名格式说明](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E5%85%B3%E4%BA%8E%E5%AD%97%E5%B9%95%E5%90%8D%E7%A7%B0%E5%91%BD%E5%90%8D%E6%A0%BC%E5%BC%8F%E8%AF%B4%E6%98%8E.md)

如果文档没有及时更新,或者描述含糊、歧义的,欢迎提 [ISSUES](https://github.com/allanpk716/ChineseSubFinder/issues)
如果文档没有及时更新,或者描述含糊、歧义的,欢迎提 [ISSUES](https://github.com/ChineseSubFinder/ChineseSubFinder/issues)

## 问题列表

如果遇到问题了,可以先看看这里总结的问题,如果未能解决,依然可以继续提问。[问题列表](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E9%97%AE%E9%A2%98%E5%88%97%E8%A1%A8.md)
如果遇到问题了,可以先看看这里总结的问题,如果未能解决,依然可以继续提问。[问题列表](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E9%97%AE%E9%A2%98%E5%88%97%E8%A1%A8.md)

## 其他文档

- [削刮器的推荐设置](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E5%89%8A%E5%88%AE%E5%99%A8%E7%9A%84%E6%8E%A8%E8%8D%90%E8%AE%BE%E7%BD%AE.md)
- [如何判断视频是否需要下载、更新字幕的](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E5%A6%82%E4%BD%95%E5%88%A4%E6%96%AD%E8%A7%86%E9%A2%91%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E4%B8%8B%E8%BD%BD%E3%80%81%E6%9B%B4%E6%96%B0%E5%AD%97%E5%B9%95%E7%9A%84.md)
- [设计](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E8%AE%BE%E8%AE%A1.md)
- [字幕时间轴校正功能实现解析(有待补全)](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/字幕时间轴校正功能实现解析/字幕时间轴校正功能实现解析.md)
- [削刮器的推荐设置](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E5%89%8A%E5%88%AE%E5%99%A8%E7%9A%84%E6%8E%A8%E8%8D%90%E8%AE%BE%E7%BD%AE.md)
- [如何判断视频是否需要下载、更新字幕的](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E5%A6%82%E4%BD%95%E5%88%A4%E6%96%AD%E8%A7%86%E9%A2%91%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E4%B8%8B%E8%BD%BD%E3%80%81%E6%9B%B4%E6%96%B0%E5%AD%97%E5%B9%95%E7%9A%84.md)
- [设计](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E8%AE%BE%E8%AE%A1.md)
- [字幕时间轴校正功能实现解析(有待补全)](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/字幕时间轴校正功能实现解析/字幕时间轴校正功能实现解析.md)

## 如何编译此项目

Expand Down Expand Up @@ -99,7 +99,7 @@ go mod tidy ,然后需要设置 CGO=1 ,找到 cmd\chinesesubfinder\main.go

## 如何参与开发

建议看 [关于中文字幕下载器的中长期规划讨论、求助](https://github.com/allanpk716/ChineseSubFinder/issues/20),里面提及了后续的规划,需要大家的讨论。
建议看 [关于中文字幕下载器的中长期规划讨论、求助](https://github.com/ChineseSubFinder/ChineseSubFinder/issues/20),里面提及了后续的规划,需要大家的讨论。

目前阶段参与开发可以会遇到项目大范围重构,导致合并代码困难的问题。

Expand All @@ -109,7 +109,7 @@ go mod tidy ,然后需要设置 CGO=1 ,找到 cmd\chinesesubfinder\main.go

## 版本

请务必使用最新版本,这里忘记(懒得)写更新记录的话,可以去 [Releases](https://github.com/allanpk716/ChineseSubFinder/releases) 查看最新到什么版本了。
请务必使用最新版本,这里忘记(懒得)写更新记录的话,可以去 [Releases](https://github.com/ChineseSubFinder/ChineseSubFinder/releases) 查看最新到什么版本了。

> 因为业余时间不多,都是断断续续做的,基本我只能记得最近两个版本的功能···
Expand Down
4 changes: 2 additions & 2 deletions TestCode/test_imdb_tmdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package TestCode
import (
"fmt"

"github.com/allanpk716/ChineseSubFinder/pkg"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg"

"github.com/allanpk716/ChineseSubFinder/pkg/settings"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/settings"
tmdb "github.com/cyruzin/golang-tmdb"
)

Expand Down
22 changes: 11 additions & 11 deletions TestCode/test_statistics_subs_score.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ import (
"path/filepath"
"sync"

common2 "github.com/allanpk716/ChineseSubFinder/pkg/types/common"
common2 "github.com/ChineseSubFinder/ChineseSubFinder/pkg/types/common"

"github.com/allanpk716/ChineseSubFinder/pkg/task_control"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/task_control"

"github.com/sirupsen/logrus"

"github.com/allanpk716/ChineseSubFinder/pkg/ffmpeg_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/types/subparser"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/ffmpeg_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/types/subparser"
"github.com/huandu/go-clone"

"github.com/xuri/excelize/v2"

"github.com/allanpk716/ChineseSubFinder/pkg/log_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/logic/sub_parser/ass"
"github.com/allanpk716/ChineseSubFinder/pkg/logic/sub_parser/srt"
"github.com/allanpk716/ChineseSubFinder/pkg/logic/sub_timeline_fixer"
"github.com/allanpk716/ChineseSubFinder/pkg/settings"
"github.com/allanpk716/ChineseSubFinder/pkg/sub_parser_hub"
"github.com/allanpk716/ChineseSubFinder/pkg/vad"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/log_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/sub_parser/ass"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/sub_parser/srt"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/sub_timeline_fixer"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/settings"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/sub_parser_hub"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/vad"
)

func statistics_subs_score_one(baseAudioFileFPath, baseSubFileFPath, srcSubFileFPath string) {
Expand Down
6 changes: 3 additions & 3 deletions TestCode/test_statistics_subs_score_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package TestCode

import (
"github.com/allanpk716/ChineseSubFinder/pkg/log_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/logic/sub_timeline_fixer"
"github.com/allanpk716/ChineseSubFinder/pkg/settings"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/log_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/sub_timeline_fixer"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/settings"
"path/filepath"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/GetCAPTCHA/backend/get_code.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"regexp"
"strings"

"github.com/allanpk716/ChineseSubFinder/pkg/rod_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/rod_helper"
"github.com/go-rod/rod/lib/proto"
"github.com/sirupsen/logrus"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/GetCAPTCHA/backend/git_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"os"
"time"

"github.com/allanpk716/ChineseSubFinder/pkg"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg"

"github.com/allanpk716/ChineseSubFinder/pkg/types/common"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/types/common"

"github.com/allanpk716/ChineseSubFinder/cmd/GetCAPTCHA/backend/config"
"github.com/allanpk716/ChineseSubFinder/pkg/something_static"
"github.com/ChineseSubFinder/ChineseSubFinder/cmd/GetCAPTCHA/backend/config"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/something_static"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing/object"
"github.com/go-git/go-git/v5/plumbing/transport/ssh"
Expand Down
14 changes: 7 additions & 7 deletions cmd/GetCAPTCHA/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"path/filepath"
"time"

"github.com/allanpk716/ChineseSubFinder/pkg"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg"

"github.com/allanpk716/ChineseSubFinder/pkg/random_auth_key"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/random_auth_key"

"github.com/allanpk716/ChineseSubFinder/cmd/GetCAPTCHA/backend"
"github.com/allanpk716/ChineseSubFinder/cmd/GetCAPTCHA/backend/config"
"github.com/allanpk716/ChineseSubFinder/pkg/log_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/notify_center"
"github.com/allanpk716/ChineseSubFinder/pkg/settings"
"github.com/ChineseSubFinder/ChineseSubFinder/cmd/GetCAPTCHA/backend"
"github.com/ChineseSubFinder/ChineseSubFinder/cmd/GetCAPTCHA/backend/config"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/log_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/notify_center"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/settings"
"github.com/robfig/cron/v3"
"github.com/sirupsen/logrus"
)
Expand Down
22 changes: 11 additions & 11 deletions cmd/chinesesubfinder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ import (
"strings"
"time"

"github.com/allanpk716/ChineseSubFinder/pkg"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg"

"github.com/allanpk716/ChineseSubFinder/internal/dao"
"github.com/ChineseSubFinder/ChineseSubFinder/internal/dao"

"github.com/allanpk716/ChineseSubFinder/pkg/logic/cron_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/logic/file_downloader"
"github.com/allanpk716/ChineseSubFinder/pkg/logic/pre_job"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/cron_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/file_downloader"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/pre_job"

"github.com/allanpk716/ChineseSubFinder/pkg/random_auth_key"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/random_auth_key"

"github.com/allanpk716/ChineseSubFinder/internal/backend"
"github.com/allanpk716/ChineseSubFinder/pkg/cache_center"
"github.com/allanpk716/ChineseSubFinder/pkg/common"
"github.com/allanpk716/ChineseSubFinder/pkg/log_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/settings"
"github.com/ChineseSubFinder/ChineseSubFinder/internal/backend"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/cache_center"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/common"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/log_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/settings"
"github.com/sirupsen/logrus"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/subtimelinefixer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"strings"
"time"

"github.com/allanpk716/ChineseSubFinder/pkg"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg"

"github.com/allanpk716/ChineseSubFinder/pkg/logic/sub_timeline_fixer"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/logic/sub_timeline_fixer"

"github.com/allanpk716/ChineseSubFinder/pkg/log_helper"
"github.com/allanpk716/ChineseSubFinder/pkg/settings"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/log_helper"
"github.com/ChineseSubFinder/ChineseSubFinder/pkg/settings"
"github.com/sirupsen/logrus"

"github.com/urfave/cli/v2"
Expand Down
4 changes: 2 additions & 2 deletions docker/full-release.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM allanpk716/chinesesubfinder-base:latest
FROM ChineseSubFinder/ChineseSubFinder-base:latest
ARG VERSION
ENV TZ=Asia/Shanghai \
PERMS=true \
Expand All @@ -9,7 +9,7 @@ ENV TZ=Asia/Shanghai \
PS1="\u@\h:\w \$ "
RUN cd /tmp \
&& arch=$(uname -m | sed -e 's|aarch64|arm64|' -e 's|armv7l|arm|') \
&& wget -q --no-check-certificate https://github.com/allanpk716/ChineseSubFinder/releases/download/${VERSION}/chinesesubfinder-${VERSION#*v}-Linux-${arch}.tar.gz \
&& wget -q --no-check-certificate https://github.com/ChineseSubFinder/ChineseSubFinder/releases/download/${VERSION}/chinesesubfinder-${VERSION#*v}-Linux-${arch}.tar.gz \
&& tar xvf chinesesubfinder-${VERSION#*v}-Linux-${arch}.tar.gz \
&& mv chinesesubfinder /usr/local/bin \
&& chmod +x /usr/local/bin/chinesesubfinder \
Expand Down
2 changes: 1 addition & 1 deletion docker/lite-make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export MUSL=/musl

## 下载源码并下载go mod
cd ~/go/src
curl -sSL https://github.com/allanpk716/ChineseSubFinder/archive/refs/tags/${VERSION}.tar.gz | tar xvz --strip-components 1
curl -sSL https://github.com/ChineseSubFinder/ChineseSubFinder/archive/refs/tags/${VERSION}.tar.gz | tar xvz --strip-components 1
npm --prefix frontend ci
npm --prefix frontend run build
go mod tidy
Expand Down
12 changes: 6 additions & 6 deletions docker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
### 推荐的电影目录结构

[文档](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E7%9A%84%E6%8E%A8%E8%8D%90%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84.md)
[文档](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E7%94%B5%E5%BD%B1%E7%9A%84%E6%8E%A8%E8%8D%90%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84.md)

### 推荐的连续剧目录结构

[文档](https://github.com/allanpk716/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)
[文档](https://github.com/ChineseSubFinder/ChineseSubFinder/blob/docs/DesignFile/%E8%BF%9E%E7%BB%AD%E5%89%A7%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84%E8%A6%81%E6%B1%82.md)

## 镜像标签说明

Expand Down Expand Up @@ -63,7 +63,7 @@ docker run -d \
--hostname chinesesubfinder \
--log-driver "json-file" \
--log-opt "max-size=100m" `# 限制docker控制台日志大小,可自行调整` \
allanpk716/chinesesubfinder
ChineseSubFinder/ChineseSubFinder
## latest-lite标签
docker run -d \
Expand All @@ -80,7 +80,7 @@ docker run -d \
--hostname chinesesubfinder \
--log-driver "json-file" \
--log-opt "max-size=100m" `# 限制docker控制台日志大小,可自行调整` \
allanpk716/chinesesubfinder:latest-lite
ChineseSubFinder/ChineseSubFinder:latest-lite
```

创建好后访问`http://<ip>:19035`来进行下一步设置。
Expand All @@ -95,7 +95,7 @@ docker run -d \
version: "3"
services:
chinesesubfinder:
image: allanpk716/chinesesubfinder:latest
image: ChineseSubFinder/ChineseSubFinder:latest
volumes:
- ./config:/config # 冒号左边请修改为你想在主机上保存配置、日志等文件的路径
- ./media:/media # 请修改为你的媒体目录,冒号右边可以改成你方便记忆的目录,多个媒体目录需要分别映射进来
Expand Down Expand Up @@ -125,7 +125,7 @@ services:
version: "3"
services:
chinesesubfinder:
image: allanpk716/chinesesubfinder:latest-lite
image: ChineseSubFinder/ChineseSubFinder:latest-lite
volumes:
- ./config:/config # 冒号左边请修改为你想在主机上保存配置、日志等文件的路径
- ./media:/media # 请修改为你的媒体目录,冒号右边可以改成你方便记忆的目录,多个媒体目录需要分别映射进来
Expand Down

0 comments on commit 0df745b

Please sign in to comment.