Git Product home page Git Product logo

deploy's Introduction

@ tars / deploy

TARS framework service packaging tool for packaging services to generate release packages suitable for TARS framework.

Installation

npm install -g @ tars / deploy

Tars-deploy is a CLI program, so you need to use the - g parameter to install

Usage

tars-deploy name [options]

  • name is the "service name" of the service, if your service name is Server, then fill in "Server"
  • [options] Optional configuration, see [Options] (# options) section

__When packaging: please change the current directory to the root directory of the service (that is, the directory where the service package.json is located) and execute this program

options

Options:

-h, --help output usage information
-V, --version output the version number
-f, --force Force to Build Package
-p --platform build deploy package for target platform

-f, --force

Because the tool will package the current running environment (such as node executable binaries, recompile C / C ++ addon on the current architecture, etc.), please execute the packaging tool on the same environment (linux) as the target operating architecture.

Turn this switch on to bypass this restriction. But at the same time we strongly advise you not to do this!

-p, --platform

By default, the tool will build package running on the linux platform. If you want to specify other platforms, you can pass this parameter. Currently darwin / linux are supported.

When you package on a non-linux system and do not specify a target platform, we provide a default linux platform nodejs execution file (currently linux x64 v12.17). If you want to package your own nodejs execution file, please run this tool in the environment of the target nodejs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.