From df258598b6bf6d595eaa6501336d9cd0df39a670 Mon Sep 17 00:00:00 2001 From: zerlei <1445089819@qq.com> Date: Fri, 21 Jun 2024 14:03:29 +0800 Subject: [PATCH] =?UTF-8?q?chore:=201.=20=E4=BF=AE=E6=94=B9=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=202.=20readme=E8=AE=BE=E8=AE=A1=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 94 +++++++++++++++++++ .../webtool/.vscode/extensions.json | 0 {WebTool => Tool}/webtool/README.md | 0 {WebTool => Tool}/webtool/index.html | 0 {WebTool => Tool}/webtool/package.json | 0 {WebTool => Tool}/webtool/public/vite.svg | 0 {WebTool => Tool}/webtool/src/App.vue | 0 {WebTool => Tool}/webtool/src/assets/vue.svg | 0 .../webtool/src/components/HelloWorld.vue | 0 {WebTool => Tool}/webtool/src/main.js | 0 {WebTool => Tool}/webtool/src/style.css | 0 {WebTool => Tool}/webtool/vite.config.js | 0 12 files changed, 94 insertions(+) rename {WebTool => Tool}/webtool/.vscode/extensions.json (100%) rename {WebTool => Tool}/webtool/README.md (100%) rename {WebTool => Tool}/webtool/index.html (100%) rename {WebTool => Tool}/webtool/package.json (100%) rename {WebTool => Tool}/webtool/public/vite.svg (100%) rename {WebTool => Tool}/webtool/src/App.vue (100%) rename {WebTool => Tool}/webtool/src/assets/vue.svg (100%) rename {WebTool => Tool}/webtool/src/components/HelloWorld.vue (100%) rename {WebTool => Tool}/webtool/src/main.js (100%) rename {WebTool => Tool}/webtool/src/style.css (100%) rename {WebTool => Tool}/webtool/vite.config.js (100%) diff --git a/README.md b/README.md index e69de29..2f69c56 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,94 @@ +> 这是一个基于 asp.net c# 的发布工具。 + +```plantuml +package 服务器 { + + component remoteserver + note left : 1. windows server \n2. IIS部署 + component webtool +} +package 本地计算机 { + component localserver + note left : 1. windows 10/11 \n2. windows 服务 +} + +package asp.net [ +.net 8 +---- +sqlite +---- +http +--- +websocket +] + +package webpage [ + vue3 + --- + naive-ui +] +asp.net --+ remoteserver +asp.net --+ localserver +webpage --+ webtool + +``` + +```plantuml + +entity DirInfo { + String ServerPath + String LocalPath + Arr SpecialFiles + Arr ExcludeFiles +} +entity FileInfo { + DateTime mtime + String Path +} +entity ConfigInfo { + Arr DirInfos + String RemoteAddr + String RemoteName +} +``` + +```plantuml +allowmixing +skinparam classAttributeIconSize 0 +component sqlite +package remoteserver { + class FilesInfoController { + +Arr GetFilesInfo(DirInfo dirinfo) + +UploadFiles(FileInfo) + } + class SyncLogController { + +GetSyncLog() + } + package SyncPersistence { + } + + SyncPersistence --* SyncLogController + SyncPersistence --* FilesInfoController + +} +package localserver { + class FilesConfigController { + - GetLocalFilesInfo() + - CompareLocalRemoteFiles() + -- + + SetDirsConfig(Arr dirs) + } + package ConfigPersistence { + } + ConfigPersistence --* FilesConfigController +} +FilesConfigController <--> FilesInfoController: 文件及信息传递 +sqlite --* SyncPersistence +sqlite --* ConfigPersistence + +Actor Devloper + +Devloper --> FilesConfigController:调用 + +Devloper --> SyncLogController:查看同步信息 +``` diff --git a/WebTool/webtool/.vscode/extensions.json b/Tool/webtool/.vscode/extensions.json similarity index 100% rename from WebTool/webtool/.vscode/extensions.json rename to Tool/webtool/.vscode/extensions.json diff --git a/WebTool/webtool/README.md b/Tool/webtool/README.md similarity index 100% rename from WebTool/webtool/README.md rename to Tool/webtool/README.md diff --git a/WebTool/webtool/index.html b/Tool/webtool/index.html similarity index 100% rename from WebTool/webtool/index.html rename to Tool/webtool/index.html diff --git a/WebTool/webtool/package.json b/Tool/webtool/package.json similarity index 100% rename from WebTool/webtool/package.json rename to Tool/webtool/package.json diff --git a/WebTool/webtool/public/vite.svg b/Tool/webtool/public/vite.svg similarity index 100% rename from WebTool/webtool/public/vite.svg rename to Tool/webtool/public/vite.svg diff --git a/WebTool/webtool/src/App.vue b/Tool/webtool/src/App.vue similarity index 100% rename from WebTool/webtool/src/App.vue rename to Tool/webtool/src/App.vue diff --git a/WebTool/webtool/src/assets/vue.svg b/Tool/webtool/src/assets/vue.svg similarity index 100% rename from WebTool/webtool/src/assets/vue.svg rename to Tool/webtool/src/assets/vue.svg diff --git a/WebTool/webtool/src/components/HelloWorld.vue b/Tool/webtool/src/components/HelloWorld.vue similarity index 100% rename from WebTool/webtool/src/components/HelloWorld.vue rename to Tool/webtool/src/components/HelloWorld.vue diff --git a/WebTool/webtool/src/main.js b/Tool/webtool/src/main.js similarity index 100% rename from WebTool/webtool/src/main.js rename to Tool/webtool/src/main.js diff --git a/WebTool/webtool/src/style.css b/Tool/webtool/src/style.css similarity index 100% rename from WebTool/webtool/src/style.css rename to Tool/webtool/src/style.css diff --git a/WebTool/webtool/vite.config.js b/Tool/webtool/vite.config.js similarity index 100% rename from WebTool/webtool/vite.config.js rename to Tool/webtool/vite.config.js