0.1.2 • Published 3 months ago

deploy-loopslive v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

Deploy Cli

本工具是在deploy-loopslive-web的基础上作了一点修改,适配windows系统。

NPM version Downloads

Description

Deploy your static website by one line command

Installation

Install with npm

npm install -g deploy-loopslive

Usage :

  • init project
    deploy-loopslive init
  • config deploy.dev.conf/deploy.pro.conf
    {
        "name": "project name",
        "host": "Hostname or IP address of the server",
        "port": "Port number of the server",
        "username": "Username for authentication",
        "password": "Local path to password",
        "remotePath": "Remote path",
        "dist": "local path"
    }
  • deploy
    npm run deploy:pre/pro

Simple

    {
        "name": "project name",
        "host": "120.78.194.223",
        "port": 22,
        "username": "lun",
        "password": "/Users/chris/.ssh/pwd",
        "remotePath": "/var/www",
        "remoteDir": "targe",
        "dist": "./dist"
    }

License

ISC