import{_ as d,M as i,p as s,q as o,R as a,t as e,N as n,a1 as t}from"./framework-5866ffd3.js";const c={},l=a("h1",{id:"开发指南",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#开发指南","aria-hidden":"true"},"#"),e(" 开发指南")],-1),h=a("h2",{id:"前端",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#前端","aria-hidden":"true"},"#"),e(" 前端")],-1),u={href:"https://vuejs.org/",target:"_blank",rel:"noopener noreferrer"},p={href:"https://nuxt.com/",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/WongSaang/chatgpt-ui",target:"_blank",rel:"noopener noreferrer"},v=t(`

环境准备

安装最新稳定版 node.js,如果需要打包成 docker 镜像,还需要安装 docker。

安装依赖

yarn install

启动开发服务

yarn dev

构建

yarn build

打包成 docker 镜像

docker build -t image-name:latest .

后端

`,11),m={href:"https://www.python.org/",target:"_blank",rel:"noopener noreferrer"},x={href:"https://djangoproject.com/",target:"_blank",rel:"noopener noreferrer"},b={href:"https://github.com/WongSaang/chatgpt-ui-server",target:"_blank",rel:"noopener noreferrer"},_=t(`

环境准备

安装Python、pip/pipenv,如果需要打包成 docker 镜像,还需要安装 docker。

安装依赖

pip install -r requirements.txt

启动开发服务

python manage.py runserver

打包成 docker 镜像

docker build -t image-name:latest .
`,8);function f(k,y){const r=i("ExternalLinkIcon");return s(),o("div",null,[l,h,a("p",null,[e("所需技能:"),a("a",u,[e("Vue"),n(r)]),e("、"),a("a",p,[e("Nuxt"),n(r)])]),a("p",null,[e("项目地址:"),a("a",g,[e("https://github.com/WongSaang/chatgpt-ui"),n(r)])]),v,a("p",null,[e("所需技能:"),a("a",m,[e("Python"),n(r)]),e("、"),a("a",x,[e("Django"),n(r)])]),a("p",null,[e("项目地址:"),a("a",b,[e("https://github.com/WongSaang/chatgpt-ui-server"),n(r)])]),_])}const j=d(c,[["render",f],["__file","development.html.vue"]]);export{j as default};