go1 / deploy-helper
There is no license information available for the latest version (v0.5.5) of this package.
v0.5.5
2020-11-03 02:23 UTC
Requires
- guzzlehttp/guzzle: ^6.0
- silex/silex: ^2.2
- symfony/console: ^4.0
- symfony/finder: ^4.0
- symfony/translation: ^4.0
- symfony/twig-bridge: ^4.0
- symfony/var-dumper: ^4.0
- symfony/yaml: ^4.0
README
Build the command
-
Build the source code:
phar-composer build ./ -v
Get the command
wget https://github.com/go1com/deploy_helper/releases/download/v0.5.1/deploy-helper.phar
Run /install
php deploy-helper.phar service:update rules production
Import endpoints
php deploy-helper.phar service:endpoint
--endpoint=http://api-dev.mygo1.com/v3/endpoint-service/
--source=/path/to/user/resources/swagger/
--service=user
--username=ADMIN_USERNAME
--password=ADMIN_PASSWORD
Variable building
Build variables values from #stash - The center we store all configurations.
php deploy-helper.phar service:build-docker-compose
--stash-url=http://your.stash.service/build/docker-compose/ACCESS_TOKEN_TO_STASH_SERVICE
--service=THE_SERVICE_YOU_ARE_BUILDING # Example: microservices:user
Translation extracting
Extract translation strings from source PHP/Twig/YAML files:
deploy-helper translate:extractor \
--target=/path/to/resources/translations \
--php=/path/php-1 \
--php=/php/php-2 \
--twig=/path/to/twig-resources \
--yaml=/path/to/yaml-files