Workflow example
Note: WIP
This is a set of shell scripts:
php-tests
- tool to automate local testingmoomba
- composer library creator script using template alecrabbit/php-package-templatebuild-image
- convenient local docker image build tool (WIP)
See demos
Note :
moomba
script does not requiredocker-compose
nordocker
Docker Engine 17.04.0+
- docker
- docker-compose
Get your copy of specific version
Note: Check releases tab for the latest version number
version="0.7.0"
wget -qO- "https://github.com/alecrabbit/sh-php-dev-helper/archive/${version}.tar.gz" \
| tar -xz && cd sh-php-dev-helper-${version} && echo ${version} > php-dev-helper/VERSION \
&& ./install && cd ..
Follow the instructions of install script.
Assuming your install path is ~/.local/bin
, make sure your .profile
file contains these lines:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
Create your own .templates_settings
, use .templates_settings.dist
as example
cp $HOME/.local/bin/php-dev-helper/.settings/.templates_settings.dist \
$HOME/.local/bin/php-dev-helper/.settings/.templates_settings
And edit that file as you wish
Note: if there is no
.templates_settings
file internal defaults are used.
Project's file structure
Note: Windows is NOT supported.
Supported OS |
---|
Ubuntu Linux (18.04 LTS) |
Ubuntu Linux (19.04) |
Note: it should work practically on any linux installation. Known issues.