This example exists primarily to test the following documentation:
Start up tests
Run the following commands to get up and running with this example.
# Should start up successfully lando poweroff lando start
Run the following commands to validate things are rolling as they should.
# Should return 2.x for the default version lando ssh -s defaults -c "dotnet --version | grep \'^2.\'" # Should run on port 80 by default lando ssh -s defaults -c "curl http://localhost" | grep "Hello there" # Should not serve port 80 for cli lando ssh -s cli -c "curl http://localhost" || echo $? | grep 1
Run the following commands to trash this app like nothing ever happened.
# Should be destroyed with success lando destroy -y lando poweroff