devinggo devinggo
首页
  • 系统介绍
  • 开发环境搭建
  • 快速开始
  • 生产部署
  • 目录结构
  • MVC开发
  • 权限控制
  • 拦截器
  • 定时任务
  • 消息队列
  • websocket服务器
  • 缓存
  • module开发
  • 代码自动生成
  • 命令
前端开发
常见问题
演示
GitHub (opens new window)
首页
  • 系统介绍
  • 开发环境搭建
  • 快速开始
  • 生产部署
  • 目录结构
  • MVC开发
  • 权限控制
  • 拦截器
  • 定时任务
  • 消息队列
  • websocket服务器
  • 缓存
  • module开发
  • 代码自动生成
  • 命令
前端开发
常见问题
演示
GitHub (opens new window)
  • 系统介绍
  • 开发环境搭建
  • 快速开始
  • 生产部署
    • 生产部署
      • 初始化
      • 使用systemclt
      • 使用 Supervisor
  • 介绍安装
Kai
2025-01-07
目录

生产部署

# 生产部署

# 初始化

  1. 从bin目录取出devinggo
cp devinggo /opt/devinggo/devinggo
  1. 初始化
cd /opt/devinggo/
sudo chmod 0777 devinggo
./devinggo unpack 
# 打开manifest/config/config.yaml,配置mysql or postgresql,redis,以及其他配置
./devinggo migrate:up

# 使用systemclt

#到代码根目录复制docs/devinggo.service 到 /opt/devinggo/,转到/opt/devinggo/目录
cp devinggo.service /usr/lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable devinggo
sudo systemctl start devinggo

# 使用 Supervisor

#到代码根目录复制docs/devinggo.conf 到 /opt/devinggo/,转到/opt/devinggo/目录
cp devinggo.conf /etc/supervisor/conf.d/
supervisorctl reload
  1. 官网 web\site 目录
参见  https://nuxt.com.cn/docs/getting-started/deployment/

上次更新: 2025/03/25, 15:29:08
快速开始

← 快速开始

Theme by Vdoing | Copyright © 2025-2025 Kai
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式