Alternative Remote Installations
THIS PAGE IS A WORK IN PROGRESS
Install with Composer in Isolated Directory
In some cases you must install Live Dev Porter as a standalone app on the remote server in order to connect from your development server. These alternative instructions show you how.
This doesn't allow composer update for LDP, so maybe the lower version is better to work out
composer create-project aklump/live-dev-porter ldp- Open _ldp/live_devporter.core.yml
- Change
config_path_base: ../../..toconfig_path_base: . ./ldp/live_dev_porter.sh init./ldp/live_dev_porter.sh cc?./ldp/live_dev_porter.sh config... proceed with configuration
To install Live Dev Porter on a remote server without using source control do the following.
- On the remote server create a folder _live_devporter as a sibling to your webroot.
cdinto that directory- composer require aklump/live-dev-porter:^0.0
- Open .live_dev_porter/config.yml and add ONLY the `live' environment and any workflows it uses from your local file.
- Edit config.local.yml to include only include
local: live - Edit the remote
$PATHto include _...live_devporter/vendor/bin - Configure the correct database connection, probably
mysql... you do not need to separate thepasswordout; include it in config.yml
Use Git Clone
git clone https://github.com/aklump/live_dev_porter.gitcd live_dev_portercomposer installcd bin && pwdand copy to clipboard- Add the clipboard contents to the
$PATHvariable in (probably) .profile - Reload the profile, e.g.
. ~/.profile - Open _live_devporter.sh and change
CLOUDY_COMPOSER_VENDORto:CLOUDY_COMPOSER_VENDOR="vendor" - Open _live_devporter.core.yml and change
config_path_baseto:config_path_base: . cd .. && ln -s live_dev_porter/live_dev_porter.sh .cd vendor/binln ../../live_dev_porter/bin/ldp ldpldp cc- ldp configtest