-
Notifications
You must be signed in to change notification settings - Fork 22
Using Bee with Lando
Bee can be used with your existing Lando setup. From Lando v3.21.0, Bee is included within the default Backdrop recipe; it currently uses the HEAD version so you will get the latest changes at every rebuild. You may need to run lando rebuild -y
if you have just upgraded. If you are using an earlier version or want to install another version manually.
- Add some build steps that download and install Bee:
services:
appserver:
build_as_root:
- wget -qO bee.zip https://github.com/backdrop-contrib/bee/archive/1.x-1.x.zip
- unzip -q bee.zip && rm bee.zip
- mv bee-1.x-1.x /usr/local/bin/bee
- Add a tooling command for
bee
:
tooling:
bee:
service: appserver
cmd: /usr/local/bin/bee/bee.php
-
Rebuild Lando to make the above changes take effect:
lando rebuild
-
An optional step to ensure you can easily run
bee
on the site from the app root (or other folders that aren't in thewebroot
is to replace the tooling with this (wheredocroot
is the value ofwebroot
in the recipe; adjust if you have a differentwebroot
):
tooling:
bee:
service: appserver
cmd: /usr/local/bin/bee/bee.php --root=/app/docroot
Use Bee by typing lando bee ...
🐝 Bee - the command line tool for Backdrop CMS | Issues | GPT2