3.0.0 • Published 6 years ago

jp-deployment v3.0.0

Weekly downloads
21
License
MIT
Repository
github
Last release
6 years ago

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.

  1. Install this tool
npm install jp-deployment --save-dev

or

yarn add jp-deployment --dev
  1. Create deploy.js file in your project root directory. Config depands on driver. See below.
  2. Run deployment with Node JS
node deploy.js

Create 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

License

This project is licensed under the MIT License - see the LICENSE.md file for details

3.0.0

6 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago