This example exists primarily to test the following documentation:
Run the following commands to get up and running with this example.
# Should start up successfully
lando poweroff
lando startRun the following commands to validate things are rolling as they should.
# Should use 2.7.x as the default version
lando ssh -s defaults -c "ruby --version | grep 2.7."
# Should use the user specified patch version when set
lando ssh -s patch -c "ruby --version | grep 2.7.7"
# Should run on port 80 by default
lando ssh -s defaults -c "curl http://localhost | grep TROUBLE"
# Should not serve port 80 for cli
lando ssh -s cli -c "curl http://localhost" || echo $? | grep 7Run the following commands to trash this app like nothing ever happened.
# Should be destroyed with success
lando destroy -y
lando poweroff