Skip to content

TarsPHP/tars-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  1. Phar extension required

  2. Ensure that the. / tar / tar.proto.php file under the project exists and contains the following contents


return array(

'appName' = >

'servername' = >

...

);

  1. Introduce tar deploy to composer.json of the project.

  2. Add the following content to the project composer.json:


"Scripts": {

"deploy": "\\Tars\\deploy\\Deploy::run"

}

  1. Execute the following command in the project directory to generate the project compression package to be uploaded.
    composer run-script deploy