怎么把本地的webman项目,部署到1panle的环境下?
上传 + 解压 + 重启 supervisor 。 我有个golang项目就是这个流程。 gooseforum
那只能把webman打包成二进制了
做成功后,记得分享下作业👍
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:端口
cd /opt/1panel/apps/openresty/openresty/www/sites/www.xx.com/index ./webman.bin start cd进自己的项目目录 ./webman.bin start
你需要这个 https://gitee.com/lsmir2/docker-php-webman
厉害厉害👍
上传 + 解压 + 重启 supervisor 。 我有个golang项目就是这个流程。 gooseforum
那只能把webman打包成二进制了
做成功后,记得分享下作业👍
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:端口
cd /opt/1panel/apps/openresty/openresty/www/sites/www.xx.com/index ./webman.bin start
cd进自己的项目目录 ./webman.bin start
你需要这个 https://gitee.com/lsmir2/docker-php-webman
厉害厉害👍