leroy-merlin-br / dployer Goto Github PK
View Code? Open in Web Editor NEWA simple script to deploy PHP applications to ElasticBeanstalk
A simple script to deploy PHP applications to ElasticBeanstalk
The option --parents doesn't work on Mac machines. Use a workaround solution to fix this. Maybe create folders manually to work OS agnostic =(
--verbose option catch every output line in exec
command and displays them at once.
If deploy command is executed in interactive mode, output should ask user before runs each command configured in .dployer
file
@Zizaco and @GuilhermeGuitte:
I think that these recent pull requests (#6, #9 and #10) resolves our actual problems.I think we can create a new version of dployer bin and tag it with version 1.1:
Main changelog:
What do you guys think?
Even if you don't use this parameter when you run deploy command, dployer asks for confirmation before run every script.
Create a configuration file in the project base path to configure deploy process. The file should follow this structure:
{
"application": "MyAwsomeApplication",
"environment": "my-staging-env",
"scripts": {
"init": "composer dumpautoload",
"another-random-event": [
"echo 'Keep going...'",
"echo 'Almost there!'"
],
"finish": "echo 'Nicely done! =)'"
},
"exclude-path": [
"path/to/non-deployed-folder",
"i-dont-want-to-deploy-this-file.log"
]
}
Note: even with application
and environment
keys in the configuration file, the deploy command should keep the possibility to pass this arguments as command parameters.
To do:
required
option from app
and environment
arguments in deploy commandexclude-path
key before ZIP them.init
, finish
, before-pack
, after-version-deploy
...If deploy command is executed with --verbose argument, the command should display outputs from scripts that are configured in .dployer
file
Note: Save -v (in lowercase) argument to display version in the future
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.