怎么把本地的webman项目,部署到1panle的环境下

wekyun

怎么把本地的webman项目,部署到1panle的环境下?

214 3 1
3个回答

缝合

上传 + 解压 + 重启 supervisor 。 我有个golang项目就是这个流程。 gooseforum

  • wekyun 20天前

    那只能把webman打包成二进制了

wocall

做成功后,记得分享下作业👍

  • wekyun 15天前

    webman本地部署项目到线上步骤
    1:本地webman编译成二进制
    2:上传带网站空间(静态空间)
    3:设置运行目录为public(没有就创建)
    4:设置伪静态:文档参考宝塔安装 https://www.workerman.net/doc/webman-v1/bt-install.html
    5:命令后台运行webman的项目:cd /opt/1panel/apps/openresty/openresty/www/sites/www.xx.com/index ./webman.bin start
    6:访问绑定的域名或者Ip:端口

  • wekyun 15天前

    cd /opt/1panel/apps/openresty/openresty/www/sites/www.xx.com/index ./webman.bin start
    cd进自己的项目目录 ./webman.bin start

lsmir2
🔝