📅  最后修改于: 2023-12-03 15:20:40.655000             🧑  作者: Mango
Transporter is a tool used by developers to move data, applications and services across different environments. It automates the deployment process, making it possible for developers to transport entire software stacks on the fly.
transporter move source destination [-t transport] [-f format] [-c config] [-p password_file] [-s service]
source
: the location of the files or services to be transported.destination
: the destination location for the files or services.-t transport
: the transport mechanism to be used. Defaults to HTTP if not specified.-f format
: the data format of the files or services. Defaults to JSON if not specified.-c config
: the configuration file to be used for the transport. Defaults to transporter.conf
.-p password_file
: the password file to be used for authentication.-s service
: the name of the service to be transported.transporter move /myapp/dev myapp.com/prod -t ssh -f binary -c transporter_prod.conf -p prod.password -s myapp_prod
This command will move the myapp
service located in the /myapp/dev
directory to the myapp.com/prod
server using the SSH transport mechanism, binary data format and the transporter_prod.conf
configuration file. The password for authentication will be taken from the prod.password
file, and the service will be named myapp_prod
.
Transporter is a powerful tool for developers looking to automate the deployment process and move data and services across environments. With its support for multiple transport mechanisms and data formats, it provides a flexible and efficient solution to a variety of deployment challenges.