Jenkins

易生一个简单的应用程序,用于测试REST和SocketIO的连接性,并使用node.js部署模型进行试验。这是YouTube系列“部署节点”的配套应用程序。在检查已部署的版本后,本地构建 npm install npm start正在运行的应用程序easyio接受可选参数。以下是带有默认值的参数:node main.js --name default --port 8080 name该节点将在API中报告的名称(用于负载平衡检查) port要监听的端口(主机被硬编码为127.0.0.1)与PM2一起运行(示例在不同端口上具有两个实例,以与conf/nginx/load-balancing.conf配置匹配) pm2 start --name easy-1 main.js --name easy-1 --port 8080 pm2 start

zip
jenkins-main.zip 预估大小:20个文件
folder
jenkins-main 文件夹
file
ecosystem.json 505B
folder
guides 文件夹
file
jenkins-credentials.md 280B
file
jenkins-with-nginx.md 5KB
file
ssh-cookbook.md 211B
folder
easyio 文件夹
folder
conf 文件夹
folder
nginx 文件夹
file
load-balancing.conf 3KB
file
basic-https.conf 2KB
file
jenkins.conf 3KB
file
reverse-proxy.conf 818B
file
https.conf 2KB
file
package.json 448B
folder
.github 文件夹
folder
workflows 文件夹
file
node.js.yml 900B
file
index.html 24B
file
LICENSE 1KB
file
package-lock.json 27KB
file
deploy.sh 293B
file
main.js 1KB
folder
public 文件夹
folder
css 文件夹
file
main.css 2KB
file
index.html 846B
folder
js 文件夹
file
app.js 2KB
file
README.md 2KB
zip 文件大小:22.97KB