diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 135c0c9..0000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -# 使用微软官方 .NET 镜像作为构建环境 -# https://hub.docker.com/_/microsoft-dotnet-sdk -FROM mcr.microsoft.com/dotnet/sdk:3.1-alpine AS build -WORKDIR /app - -# 将本地代码拷贝到容器内 -COPY . ./ -WORKDIR /app/TeambitionShare.Net/Server - -# 构建项目 -RUN dotnet publish -c Release -o out - -# 使用微软官方 .NET 镜像作为运行时镜像 -# https://hub.docker.com/_/microsoft-dotnet-aspnet/ -FROM mcr.microsoft.com/dotnet/aspnet:3.1-alpine AS runtime -WORKDIR /app -COPY --from=build /app/TeambitionShare.Net/Server/out ./ - -# 启动服务 -EXPOSE 5000 -ENTRYPOINT ["dotnet", "Server.dll"] diff --git a/README.md b/README.md deleted file mode 100644 index b399f29..0000000 --- a/README.md +++ /dev/null @@ -1,62 +0,0 @@ -

- -

- -# [TeambitionShare.Net](https://github.com/BlueHtml/TeambitionShare.Net) - -挂载Teambition文件(网盘文件列表程序) ,已支持Teambition网盘(需申请)与Teambition项目 - -本项目移植自[TeambitionShare](https://github.com/FlxSNX/TeambitionShare),修改后使其运行在 .Net Core 上 - -![home](home.png) - -## 开发者信息 - -本应用由 [BlueHtml](https://github.com/BlueHtml) 开发提供(原项目作者:[FlxSNX](https://github.com/FlxSNX)) - -## 使用 - -在没有配置文件时访问网站会跳转到配置向导,在配置向导页面填写对应的参数即可生成配置文件,如下图: - -![init](init.png) - -### 获取cookie - -先去 www.teambition.com 注册登录,然后获取Cookie: -F12 -> Network -> 刷新一下 找到如图所示的cookie -![image](https://ae01.alicdn.com/kf/U6ac816255ae44212a0b10f8d56b8cc01k.jpg) - -### 获取项目ID(projectId) - -先创建一个项目,然后进入创建的项目 -![image](https://ae01.alicdn.com/kf/U78fa30b3f30b47de96af1449808e153cV.jpg) -![image](https://ae01.alicdn.com/kf/Ube8a1476632a48c59f760d19fec97f79F.jpg) - -## 部署 - -本项目基于腾讯开源项目 [CloudBase Framework](https://github.com/Tencent/cloudbase-framework) [![star](https://img.shields.io/github/stars/Tencent/cloudbase-framework?style=social)](https://github.com/Tencent/cloudbase-framework) 开发部署,支持一键云端部署 - -[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgithub.com%2FBlueHtml%2FTeambitionShare.Net&branch=main) - -### 配置 - -无 - -### 依赖 - -无 - -## 注意事项 - -1. 部署时,需要将服务路径设置为根路径 `/` -2. 建议使用 0.5C 1G 以上的规格 -3. 更多设置请参考[TeambitionShare](https://github.com/FlxSNX/TeambitionShare) - -## 文档 - -- [CloudBase Framework 文档](https://docs.cloudbase.net/framework/) -- [TeambitionShare](https://github.com/FlxSNX/TeambitionShare/blob/master/readme.md) - -## Licence - -开源协议文档请参阅 [LICENSE](https://github.com/BlueHtml/TeambitionShare.Net/blob/master/LICENSE) diff --git a/cloudbaserc.json b/cloudbaserc.json deleted file mode 100644 index b95810e..0000000 --- a/cloudbaserc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "2.0", - "envId": "{{env.ENV_ID}}", - "framework": { - "name": "teambition-share-net", - "plugins": { - "server": { - "use": "@cloudbase/framework-plugin-container", - "inputs": { - "cpu": 0.5, - "mem": 1, - "serviceName": "teambition-share-net", - "servicePath": "/" - } - } - } - } -} \ No newline at end of file diff --git a/home.png b/home.png index 64aac36..d51840e 100644 Binary files a/home.png and b/home.png differ diff --git a/init.png b/init.png index aaa7e95..db1760d 100644 Binary files a/init.png and b/init.png differ diff --git a/logo.png b/logo.png index 9dc8d3e..12fc9ff 100644 Binary files a/logo.png and b/logo.png differ