Tars-deploy is used to package the project and facilitate the distribution of tool components on the tars management platform.
./tars/tars.proto.php
file under the project exists and contains the followingreturn array(
'appName' => 'APPNAME', //app name. e.g tars of tars.tarsconfig
'serverName' => 'SERVERNAME', //server name. e.g tarsconfig of tars.tarsconfig
//...
);
Introduce tars-deploy to the project's composer.json
Add the following to the project composer.json
"scripts": {
"deploy": "\\Tars\\deploy\\Deploy::run"
}
composer run-script deploy
in the project directory to generate a compressed package of the project to be uploaded