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 build -t image-name:latest .
安装Python、pip/pipenv,如果需要打包成 docker 镜像,还需要安装 docker。
pip install -r requirements.txt
python manage.py runserver
docker build -t image-name:latest .