jp-deployment v3.0.0
Deployment
Deployment is a tool for automated deployment to anywhere. Depends only on supported drivers. It is written in Node JS and TypeScript.
Prerequisites
You nedd to have Node JS > 8 installed.
Installing
Yo can use NPM or YARN to install this tool.
- Install this tool
npm install jp-deployment --save-devor
yarn add jp-deployment --dev- Create deploy.js file in your project root directory. Config depands on driver. See below.
- Run deployment with Node JS
node deploy.jsCreate a file in your project root directory depands on drive. Here are a few examples: (To see more examples look at directory ./src/config_example)
Driver local
const deployment = require("jp-deployment");
const config = {
driver: "local",
localRoot: "/a",
remoteRoot: "b",
ignore: [
".git",
"/temp/*",
"/log/*",
"/node_modules",
"/tests",
"/.gitignore"
],
purge: ["/temp", "/log"],
deploymentFile: "/.deployment.js"
};
deployment(config, __dirname);Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Author
- Jan Pospíšil - Programmer - www.jan-pospisil.cz
License
This project is licensed under the MIT License - see the LICENSE.md file for details
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago