zhenxun_bot/assets/js/918fff5a.7f6f1809.js
2025-10-14 09:18:00 +00:00

1 line
6.1 KiB
JavaScript

"use strict";(self.webpackChunkzhenxun_docs=self.webpackChunkzhenxun_docs||[]).push([[4885],{3208:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>r,contentTitle:()=>l,default:()=>h,frontMatter:()=>d,metadata:()=>c,toc:()=>a});var t=i(4848),s=i(8453);const d={title:"\u9ed8\u8ba4\u5b89\u88c5",subSidebar:!1,id:"install-webui-default"},l="WebUI\u5b89\u88c5",c={id:"install/webui/install-webui-default",title:"\u9ed8\u8ba4\u5b89\u88c5",description:"\u771f\u5bfb\u7684WebUI\u5df2\u5185\u7f6e\uff0c\u5728\u542f\u52a8\u65f6\u4f1a\u81ea\u52a8\u8fdb\u884c\u4e0b\u8f7d\uff0c\u65e0\u9700\u624b\u52a8\u5b89\u88c5\u3002",source:"@site/docs/install/webui/default.md",sourceDirName:"install/webui",slug:"/install/webui/install-webui-default",permalink:"/zhenxun_bot/install/webui/install-webui-default",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/install/webui/default.md",tags:[],version:"current",frontMatter:{title:"\u9ed8\u8ba4\u5b89\u88c5",subSidebar:!1,id:"install-webui-default"},sidebar:"installSidebar",previous:{title:"\u5b89\u88c5\u5c0f\u771f\u5bfb(\u624b\u52a8)",permalink:"/zhenxun_bot/install/zhenxun/"},next:{title:"NGINX\u5b89\u88c5",permalink:"/zhenxun_bot/install/webui/install-webui-nginx"}},r={},a=[{value:"\u914d\u7f6e\u8d26\u53f7\u5bc6\u7801",id:"\u914d\u7f6e\u8d26\u53f7\u5bc6\u7801",level:3},{value:"\u624b\u52a8\u5b89\u88c5",id:"\u624b\u52a8\u5b89\u88c5",level:2},{value:"1. \u521b\u5efa\u6587\u4ef6\u5939",id:"1-\u521b\u5efa\u6587\u4ef6\u5939",level:3},{value:"2. \u4e0b\u8f7dWebUI",id:"2-\u4e0b\u8f7dwebui",level:3},{value:"3.\u79fb\u52a8\u6587\u4ef6",id:"3\u79fb\u52a8\u6587\u4ef6",level:3}];function o(e){const n={a:"a",admonition:"admonition",br:"br",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",p:"p",pre:"pre",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"webui\u5b89\u88c5",children:"WebUI\u5b89\u88c5"})}),"\n",(0,t.jsxs)(n.admonition,{type:"tip",children:[(0,t.jsxs)(n.p,{children:["\u771f\u5bfb\u7684WebUI\u5df2\u5185\u7f6e\uff0c\u5728\u542f\u52a8\u65f6\u4f1a\u81ea\u52a8\u8fdb\u884c\u4e0b\u8f7d\uff0c\u65e0\u9700\u624b\u52a8\u5b89\u88c5\u3002",(0,t.jsx)(n.br,{}),"\n","\u5f53\u4f60\u51fa\u73b0\u4ee5\u4e0b\u65e5\u5fd7\u65f6\uff0c\u8bf4\u660e\u4f60\u7684WebUI\u751f\u4ea7\u975e\u5e38\u6210\u529f\ud83c\udf89\ud83c\udf89"]}),(0,t.jsx)(n.p,{children:(0,t.jsx)(n.img,{alt:"_",src:i(643).A+"",width:"1109",height:"53"})}),(0,t.jsx)(n.p,{children:"\u53ef\u4ee5\u76f4\u63a5\u8df3\u8fc7\u5f53\u524d\u7ae0\u8282\ud83c\udf89\ud83c\udf89"}),(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["\u767b\u5f55\u5730\u5740(ip\u5730\u5740\u4e0enb\u7aef\u53e3) \u9ed8\u8ba4: ",(0,t.jsx)(n.code,{children:"127.0.0.1:8080"}),(0,t.jsx)(n.br,{}),"\n","\u5982\u679c\u5e0c\u671b\u5916\u7f51\u8bbf\u95ee\uff0c\u9700\u8981\u5c06.env.dev\u4e2d\u7684",(0,t.jsx)(n.code,{children:"host"}),"\u4fee\u6539\u4e3a",(0,t.jsx)(n.code,{children:"0.0.0.0"})]})}),(0,t.jsx)(n.admonition,{type:"warning",children:(0,t.jsx)(n.p,{children:"\u5982\u679c\u4f60\u542f\u52a8\u65f6\u6ca1\u6709\u51fa\u73b0\u4ee5\u4e0a\u65e5\u5fd7\uff0c\u8bf7\u7ee7\u7eed\u9605\u8bfb\u672c\u7ae0\u8282\u8fdb\u884c\u624b\u52a8\u5b89\u88c5"})})]}),"\n",(0,t.jsx)(n.h3,{id:"\u914d\u7f6e\u8d26\u53f7\u5bc6\u7801",children:"\u914d\u7f6e\u8d26\u53f7\u5bc6\u7801"}),"\n",(0,t.jsxs)(n.p,{children:["\u5728",(0,t.jsx)(n.code,{children:"data/config.yaml"}),"\u6587\u4ef6\u4e2d\u914d\u7f6e\u9879\u8bbe\u7f6e\u8d26\u53f7\u5bc6\u7801"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",children:"web-ui:\n # web-ui\n # USERNAME: \u524d\u7aef\u7ba1\u7406\u7528\u6237\u540d\n # PASSWORD: \u524d\u7aef\u7ba1\u7406\u5bc6\u7801\n USERNAME: admin\n PASSWORD: \n"})}),"\n",(0,t.jsx)(n.admonition,{type:"warning",children:(0,t.jsx)(n.p,{children:"\u5fc5\u987b\u8981\u8bbe\u7f6e\u8d26\u53f7\u5bc6\u7801\uff0c\u5426\u5219\u65e0\u6cd5\u767b\u9646\uff01"})}),"\n",(0,t.jsx)(n.h2,{id:"\u624b\u52a8\u5b89\u88c5",children:"\u624b\u52a8\u5b89\u88c5"}),"\n",(0,t.jsx)(n.h3,{id:"1-\u521b\u5efa\u6587\u4ef6\u5939",children:"1. \u521b\u5efa\u6587\u4ef6\u5939"}),"\n",(0,t.jsxs)(n.p,{children:["\u5728",(0,t.jsx)(n.code,{children:"data"}),"\u76ee\u5f55\u4e0b\u521b\u5efa\u6587\u4ef6\u5939",(0,t.jsx)(n.code,{children:"web_ui"})]}),"\n",(0,t.jsx)(n.h3,{id:"2-\u4e0b\u8f7dwebui",children:"2. \u4e0b\u8f7dWebUI"}),"\n",(0,t.jsxs)(n.p,{children:["\u70b9\u51fb ",(0,t.jsx)(n.a,{href:"https://ghfast.top/https://github.com/HibiKier/zhenxun_bot_webui/archive/refs/heads/dist.zip",children:"\u6b64\u5904"})," \u4e0b\u8f7ddist\u6587\u4ef6\u5939"]}),"\n",(0,t.jsx)(n.h3,{id:"3\u79fb\u52a8\u6587\u4ef6",children:"3.\u79fb\u52a8\u6587\u4ef6"}),"\n",(0,t.jsxs)(n.p,{children:["\u5c06\u538b\u7f29\u5305\u4e2d",(0,t.jsx)(n.code,{children:"dist"}),"\u6587\u4ef6\u5939\u6539\u540d\u4e3a",(0,t.jsx)(n.code,{children:"public"}),"\u540e\u89e3\u538b\u5230",(0,t.jsx)(n.code,{children:"data/web_ui"}),"\u6587\u4ef6\u5939\u4e2d\uff0c\u5982\u4e0b\u6240\u793a"]}),"\n",(0,t.jsxs)(n.p,{children:["\u5728\u76ee\u5f55",(0,t.jsx)(n.code,{children:"data/web_ui/public"}),"\u4e0b"]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.img,{alt:"_",src:i(3784).A+"",width:"651",height:"240"})}),"\n",(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"\u5230\u6b64\u5904\u5df2\u5b89\u88c5\u5b8c\u6210\uff0c\u518d\u6b21\u542f\u52a8\u4e0d\u4f1a\u51fa\u73b0WebUI\u76f8\u5173\u62a5\u9519\u7684\u65e5\u5fd7\ud83c\udf89\ud83c\udf89"})})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},643:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/webui_1-d2ec70f969d0c7e4ce459f75ad3a59e3.png"},3784:(e,n,i)=>{i.d(n,{A:()=>t});const t=i.p+"assets/images/webui_2-5772c70f6c074bb9c8280c31f9a4bbb6.png"},8453:(e,n,i)=>{i.d(n,{R:()=>l,x:()=>c});var t=i(6540);const s={},d=t.createContext(s);function l(e){const n=t.useContext(d);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),t.createElement(d.Provider,{value:n},e.children)}}}]);