mheinzerling / dist
Tool to publish webapps
2.0.1
2016-11-07 19:23 UTC
Requires
- php: ^7.0.0
- mheinzerling/fileutils: ^2.0.0
- mheinzerling/jsonutils: ^2.0.0
- mheinzerling/stringutils: ^2.0.0
- symfony/console: ^3.1.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: ^5.6.0
This package is not auto-updated.
Last update: 2025-02-01 21:57:38 UTC
README
#mheinzerling/dist
Tool to zip and deploy composer web application.
##Composer "require": { "mheinzerling/dist": "^3.0.0" },
##Usage
- backup your LIVE or TEST system you try to set up
- create a deployment descriptor; based on
resources/deploy.json
- set up the deploy script
vendor\bin\dist.bat upload deploy.prod.json
[1] Deploy script
- create a distributable zip file
vendor\bin\dist.bat zip deploy.prod.json
- upload the zip file
vendor\bin\dist.bat upload deploy.prod.json
[2] dist.XXXX.zip
- deploy the zip file
vendor\bin\dist.bat deploy deploy.prod.json
[1] dist.XXXX.zip
- a maintenance flag file will be written to the server that can be checked
- check the system and type
y
to disable the maintenance mode
##Changelog
3.0.0
- update to PHP 7.1
2.0.0
- update to PHP 7
1.2.0
- passive FTP connection
1.1.0
- deploy to subPaths
1.0.0
- initial version