Getting Started - waffle-ops/waffle GitHub Wiki
TL;DR
curl -OL https://github.com/waffle-ops/waffle/releases/latest/download/waffle.phar
chmod +x waffle.phar
mv waffle.phar /usr/local/bin/wfl
wfl list
Install waffle.phar (Recommended)
- Ensure you have PHP installed.
- Ensure you have any other dependencies for your projects installed (composer, drush, etc...). These tools should be on your $PATH so that waffle can use them.
- Download the latest waffle.phar release page
- Move waffle.phar to a directory that is on you $PATH (ex
/usr/local/bin/
, a bash alias, etc...) - Rename waffle.phar to
wfl
- Make sure that
wfl
is executable - That's it! Try running
wfl list
.
Install via Source
Note: Installing via source is recommended only if you planning on modifying the code.
- Ensure you have PHP installed.
- Ensure you have composer installed.
- Ensure you have any other dependencies for your projects installed (composer, drush, etc...). These tools should be on your $PATH so that waffle can use them.
- Clone the repository
- Run
composer install
in the project directory - Add the executable at
bin/wfl
to your $PATH - You should be all set. Try running
wfl --version