Repository: SwanHubX/SwanLab-Dashboard (language: python)

Issue:
[BUG] 多余的项目依赖和一些配置
<!-- Describe your bugs below ^_^ -->

## 🐛 Bug description [Please make everyone to understand it]

现在很多东西都照搬的swanlab，需要修改一下，删除一些没用的，包括issue的模版，需要做一些调整

<img width="1728" alt="image" src="https://github.com/SwanHubX/SwanLab-Dashboard/assets/79990647/452f9e32-fee1-4f5b-b5df-10f5f8548c0d">



Discussion / hints:

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index 203e562..a886bfe 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,9 +41,8 @@ classifiers = [# 项目分类
 
 [project.urls] # 项目链接
 "Homepage" = "https://swanhub.co"
-"Source" = "https://github.com/SwanHubX/SwanLab"
-"Bug Reports" = "https://github.com/SwanHubX/SwanLab/issues"
-"Documentation" = "https://geektechstudio.feishu.cn/wiki/space/7310593325374013444?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home"
+"Source" = "https://github.com/SwanHubX/SwanLab-Dashboard"
+"Bug Reports" = "https://github.com/SwanHubX/SwanLab-Dashboard/issues"
 
 [tool.hatch.version] # 动态设置项目版本
 path = "swanboard/package.json"  # package.json文件，从中获取版本号
@@ -69,8 +68,6 @@ include = [
     "/test", # 包含一些测试脚本，确保测试成功
     "/README.md", # 包含readme
     "/requirements.txt", # 包含依赖
-    "/requirements-swan.txt", # 包含可选依赖
-    "/.config/copy_frontend.py", # 包含拷贝前端文件的脚本
     "/package.json", # 包含前端的package.json文件
 ]
 
diff --git a/swanboard/package.json b/swanboard/package.json
index 0e94f50..9965390 100644
--- a/swanboard/package.json
+++ b/swanboard/package.json
@@ -1,6 +1,6 @@
 {
   "name": "swanboard",
-  "version": "0.1.2b2",
+  "version": "0.1.2b3",
   "description": "Dashboard for Swanlab",
   "python": "true"
 }
diff --git a/vue/index.html b/vue/index.html
index 82c77dc..d74b115 100644
--- a/vue/index.html
+++ b/vue/index.html
@@ -3,6 +3,9 @@
   <head>
     <meta charset="UTF-8" />
     <link rel="icon" type="image/vnd.microsoft.icon" href="/src/assets/logo.ico" />
+    <link rel="icon" type="image/png" href="/src/assets/logo.png" />
+    <link rel="apple-touch-icon" href="/src/assets/logo.png" />
+    <meta name="apple-mobile-web-app-title" content="SwanLab" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>SwanLab</title>
   </head>
diff --git a/vue/src/assets/logo.ico b/vue/src/assets/logo.ico
index 5e16463..937e37c 100644
Binary files a/vue/src/assets/logo.ico and b/vue/src/assets/logo.ico differ
diff --git a/vue/src/assets/logo.png b/vue/src/assets/logo.png
new file mode 100644
index 0000000..f7c9195
Binary files /dev/null and b/vue/src/assets/logo.png differ
diff --git a/vue/src/assets/swanlab.svg b/vue/src/assets/swanlab.svg
index e7b8dfb..9fc642d 100644
--- a/vue/src/assets/swanlab.svg
+++ b/vue/src/assets/swanlab.svg
@@ -1,1 +1,12 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
\ No newline at end of file
+<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
+<rect width="512" height="512" rx="8" fill="url(#paint0_linear_60647_32)"/>
+<path d="M166.964 255.604C165.439 256.267 163.981 257.073 162.609 258.012L162.167 258.374C161.994 258.484 161.833 258.612 161.686 258.755C132.686 281.313 117.152 317.678 125.421 354.123C130.09 375.023 141.821 393.674 158.637 406.933C175.453 420.192 196.326 427.249 217.738 426.914H221.01C235.048 426.313 248.769 422.546 261.147 415.895C273.524 409.243 284.237 399.879 292.485 388.503C300.732 377.126 306.301 364.032 308.774 350.2C311.247 336.368 310.56 322.156 306.765 308.627C303.052 295.321 295.325 283.059 288.562 271.097C276.681 250.092 264.774 229.093 252.839 208.101C249.307 201.899 245.735 195.738 242.243 189.537C237.647 181.348 230.442 172.438 230.061 162.724C229.679 153.011 237.587 143.639 247.26 141.772C265.483 138.3 274.032 158.048 274.072 158.028C276.284 163.316 280.42 167.566 285.645 169.921C290.87 172.276 296.794 172.559 302.221 170.714C307.647 168.869 312.17 165.033 314.876 159.981C317.582 154.929 318.27 149.038 316.799 143.498C312.338 128.927 303.016 116.326 290.389 107.795C279.284 99.8528 265.907 95.7198 252.257 96.0148C242.717 96.0673 233.293 98.1074 224.585 102.005C215.877 105.903 208.078 111.573 201.683 118.653C194.416 126.773 189.21 136.523 186.503 147.078C183.796 157.634 183.668 168.686 186.13 179.301C187.113 183.288 188.457 187.178 190.143 190.921C194.94 201.799 201.984 211.713 207.925 222.008C215.216 234.652 222.508 247.302 229.8 259.959C237.092 272.616 244.45 285.326 251.876 298.09C257.897 308.647 264.459 317.878 265.122 330.562C265.401 337.328 264.276 344.078 261.82 350.388C259.363 356.698 255.626 362.431 250.846 367.227C246.065 372.022 240.344 375.777 234.042 378.253C227.739 380.73 220.993 381.876 214.226 381.618C190.746 380.554 173.025 363.154 169.452 340.396C164.977 311.657 187.354 295.883 187.354 295.883C192.069 293.108 195.619 288.719 197.346 283.528C199.073 278.336 198.86 272.695 196.746 267.649C194.632 262.603 190.76 258.494 185.849 256.084C180.938 253.674 175.319 253.125 170.034 254.54C169.023 254.825 168.031 255.173 167.064 255.584" fill="white"/>
+<path d="M407.651 333.905C407.657 325.796 406.986 317.7 405.644 309.702C403.556 297.087 399.642 284.843 394.024 273.357C390.652 266.513 386.398 259.67 379.735 255.937C376.398 254.057 372.63 253.076 368.8 253.093C364.971 253.109 361.211 254.122 357.891 256.031C354.571 257.94 351.805 260.68 349.864 263.981C347.923 267.283 346.875 271.033 346.821 274.862C346.641 283.311 351.216 290.917 354.628 298.704C360.299 311.682 362.867 325.803 362.129 339.947C361.39 354.091 357.365 367.868 350.373 380.185C349.945 380.916 349.563 381.673 349.23 382.452C347.808 385.763 347.065 389.325 347.042 392.928C347.191 398.096 349.113 403.055 352.486 406.973C355.859 410.89 360.478 413.528 365.566 414.443C378.029 416.67 387.923 407.318 393.161 396.882C402.788 377.29 407.748 355.735 407.651 333.905Z" fill="white"/>
+<path d="M297.877 185.553C297.464 185.632 297.056 185.732 296.653 185.854C295.832 186.083 295.093 186.54 294.52 187.172C293.948 187.804 293.566 188.585 293.419 189.425C293.272 190.265 293.366 191.129 293.69 191.918C294.014 192.706 294.554 193.387 295.248 193.882C305.456 201.601 314.065 211.232 320.596 222.239C322.37 225.263 323.913 228.416 325.211 231.672C326.295 234.481 327.74 238.154 331.393 237.953C334.243 237.813 335.407 235.385 336.189 232.956C339.913 220.329 341.072 207.084 339.601 194.002C338.552 186.875 336.914 179.846 334.704 172.99C334.369 171.329 333.593 169.79 332.456 168.534C331.732 167.878 330.814 167.474 329.841 167.383C328.867 167.293 327.891 167.521 327.058 168.033C326.268 168.673 325.59 169.439 325.051 170.301C321.706 174.801 317.409 178.508 312.468 181.158C309.976 182.483 307.352 183.546 304.641 184.329C302.373 184.991 300.065 185.091 297.877 185.553Z" fill="white"/>
+<defs>
+<linearGradient id="paint0_linear_60647_32" x1="256" y1="0" x2="256" y2="512" gradientUnits="userSpaceOnUse">
+<stop stop-color="#99A559"/>
+<stop offset="1" stop-color="#6B7341"/>
+</linearGradient>
+</defs>
+</svg>
diff --git a/vue/src/i18n/en-US/experiment.json5 b/vue/src/i18n/en-US/experiment.json5
index 0a79491..2c7b327 100644
--- a/vue/src/i18n/en-US/experiment.json5
+++ b/vue/src/i18n/en-US/experiment.json5
@@ -94,7 +94,9 @@
       gpu_cores: 'GPU count',
       gpu_type: 'GPU type',
       logdir: 'Logdir',
-      swanlab: 'SwanLab Version'
+      swanlab: 'SwanLab Version',
+      verbose: 'Python Verbose',
+      pid: 'PID'
     },
     empty: {
       requirements: 'No requirements found'
diff --git a/vue/src/i18n/zh-CN/experiment.json5 b/vue/src/i18n/zh-CN/experiment.json5
index 01e32f6..7356f6f 100644
--- a/vue/src/i18n/zh-CN/experiment.json5
+++ b/vue/src/i18n/zh-CN/experiment.json5
@@ -22,7 +22,9 @@
       python: 'Python Version',
       start_time: 'Start Time',
       swanlab: 'SwanLab Version',
-      workspace: 'Run path'
+      workspace: 'Run path',
+      verbose: 'Python详细信息',
+      pid: 'PID'
     },
     navs: {
       hardware: 'System Hardware',
diff --git a/vue/src/layouts/main/components/HeaderBar.vue b/vue/src/layouts/main/components/HeaderBar.vue
index d063ec9..d56ca74 100644
--- a/vue/src/layouts/main/components/HeaderBar.vue
+++ b/vue/src/layouts/main/components/HeaderBar.vue
@@ -62,11 +62,11 @@ defineProps({
 const links = ref([
   {
     title: 'Docs',
-    link: 'https://geektechstudio.feishu.cn/wiki/space/7310593325374013444?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home'
+    link: 'https://docs.swanlab.cn/zh/guide_cloud/general/what-is-swanlab.html'
   },
   {
     title: 'Examples',
-    link: 'https://github.com/SwanHubX/SwanLab-examples'
+    link: 'https://docs.swanlab.cn/zh/examples/mnist.html'
   },
   {
     title: 'Feedback',
diff --git a/vue/src/views/experiment/pages/environment/pages/EnvIndex.vue b/vue/src/views/experiment/pages/environment/pages/EnvIndex.vue
index ba40fb4..334cc20 100644
--- a/vue/src/views/experiment/pages/environment/pages/EnvIndex.vue
+++ b/vue/src/views/experiment/pages/environment/pages/EnvIndex.vue
@@ -59,6 +59,10 @@ const overview = computed(() => {
     {
       key: 'OS',
       value: system.os
+    },
+    {
+      key: 'pid',
+      value: system.pid
     }
   ]
 })
@@ -70,6 +74,10 @@ const systems = computed(() => {
       key: 'python',
       value: system.python
     },
+    {
+      key: 'verbose',
+      value: system.python_verbose
+    },
     {
       key: 'executable',
       value: system.executable,


Test patch:
diff --git a/test/start_server.py b/test/start_server.py
index 4bc6c5f..c058ce5 100644
--- a/test/start_server.py
+++ b/test/start_server.py
@@ -12,12 +12,11 @@
 from tutils.config import SWANLAB_LOG_DIR
 from swanboard.db import connect
 import os
-from swanboard import run
+from swanboard import SwanBoardRun
 
 os.environ["SWANLAB_LOG_DIR"] = SWANLAB_LOG_DIR
-
-connect()
+connect(SWANLAB_LOG_DIR)
 
 
 if __name__ == "__main__":
-    run("debug")
+    SwanBoardRun.run(path=SWANLAB_LOG_DIR, host="0.0.0.0", port=6092)