@tririga/tri-deploy
A tool for deploying UX views to a TRIRIGA Server.
Last updated 2 months ago by tasoares .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install @tririga/tri-deploy 
SYNC missed versions from official npm registry.

tri-deploy

A tool for deploying UX views to a TRIRIGA Server. It updates the UX view files on the server with the files that exists on the specified directory. It will delete from the server the files that exists on the server but does not exist on the specified directory.

Installation

$ npm install @tririga/tri-deploy -g

Synopsis

$ tri-deploy -t <tririga_url> -u <user> -p <password>

Options

  • -t, --target url The URL of the TRIRIGA server. It must include the context path.
  • -u, --user username The user name.
  • -p, --password password The user password.
  • --basicuser The user name for basic authentication.
  • --basicpassword The user password for basic authentication.
  • -v, --view view The name of the view to be deployed. Defaults to the current directory name.
  • -d, --dir directory_path The directory path that contains the files for the view to be deployed. Defaults to the current directory path.
  • -f, --files files ... A list of relative paths of the files to be uploaded. When it is used, no file will be deleted from the server. If the parameter is not used, the whole directory is uploaded to the server.
  • -q, --quiet Do not print any non-error message to the console.
  • -y, --polymer The polymer version of the view being deployed. Acceptable values are 1 or 3. Defaults to 3.
  • -c, --custom Deploy files to a custom app view. When this property is used, -y option is ignored.
  • -m, --maxconcurrent The maximum concurrent deploy requests to the server. Defaults to 1.
  • --version print tri-deploy version.
  • --help print this message.

Usage

  1. Deploy a view named my-app from the current directory:

    $ cd my-app $ tri-deploy - t http://tririga.dev:8001/dev -u myUserName -p myPassword

  2. Deploy a view in a different directory:

    $ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01

  3. Deploy just one file of a view:

    $ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01 -f component-name.js

  4. Deploy files to a Custom App view

    $ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01 -c

Current Tags

  • 1.2.0                                ...           latest (2 months ago)

8 Versions

  • 1.2.0                                ...           2 months ago
  • 1.1.4                                ...           4 months ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |