
Simplifies the management and transfer of assets between website environments.
Visit https://aklump.github.io/live_dev_porter for full documentation.
composer require aklump/live-dev-porterchmod u+x ./vendor/bin/ldp./vendor/bin/ldp initlocal and remote environment IDs as defined in config.yml../vendor/bin/ldp configtest and work through any failed tests.rm .live_dev_porter/config*./vendor/bin/ldp config-migrate .loft_deployldp instead of ./vendor/bin/ldp$PATHThis option has the advantage that any other composer binary in your project will be executable as well.
$PATH.~/.bash_profile
PATH="/path/to/project/root/vendor/bin/ldp:$PATH"
This option is singularly focused in terms of what it affects.
~/.bash_profile
alias ldp="/path/to/project/root/vendor/bin/ldp"
ldp to test if it worked... you should see available commandsldp from anywhere within your project, instead of ./vendor/bin/ldp from the root../vendor/bin/ldp config -lThe installation script above will generate the following structure where . is your repository root.
.
└── .live_dev_porter
│ ├── config.local.yml
│ └── config.yml
└── {public web root}
Refer to the file(s) for documentation about configuration options.
| Filename | Description | VCS |
|---|---|---|
| .live_dev_porter/config.yml | Configuration shared across all server environments: prod, staging, dev | yes |
| .live_dev_porter/config.local.yml | Configuration overrides for a single environment; not version controlled. | no |
./vendor/bin/ldpIf you find this project useful... please consider making a donation.