tjhorner/cloud-buildserver

语言: JavaScript

git: https://github.com/tjhorner/cloud-buildserver

用Node.js编写的构建服务器,用于我的本地服务器,在wri时就坐在我旁边...
The build server written in Node.js that I use for my local server that's sitting right next to me at the time of wri…
README.md (中文)

云buildserver

命令行客户端

用Node.js编写的构建服务器,我用于本地服务器,在编写本文档时就在我旁边。

如何设置

git clone git@github.com:tjhorner/cloud-buildserver.git
cd cloud-buildserver
cp config.example.json config.json

编辑config.json并在脚本文件夹中添加构建脚本。也请更改身份验证密码。我稍后会以某种方式添加SSH身份验证。

添加构建脚本

  1. 在脚本文件夹中创建一个脚本。
  2. 确保它可以运行。通过在终端中运行chmod + x scripts / yourscript.sh来完成此操作。
  3. 将其添加到您的配置文件中。服务器将按照您在配置中的方式运行脚本。

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

cloud-buildserver

Command Line Client

The build server written in Node.js that I use for my local server that's sitting right next to me at the time of writing this document.

How to set up

git clone git@github.com:tjhorner/cloud-buildserver.git
cd cloud-buildserver
cp config.example.json config.json

Edit config.json and add your build scripts in the scripts folder. Change the authentication password as well. I'll add SSH authentication later somehow.

Adding a build script

  1. Make a script in the scripts folder.

  2. Make sure it's runnable. Do this by running chmod +x scripts/yourscript.sh in a terminal.

  3. Add it to your config file. The server will run your scripts the way you put them in your config.