diff --git a/examples/7.1/README.md b/examples/7.1/README.md index 5d58c35..5bdd817 100644 --- a/examples/7.1/README.md +++ b/examples/7.1/README.md @@ -12,7 +12,7 @@ Run the following commands to get up and running with this example. # Should poweroff lando poweroff -# Initialize an empty laravel recipe +# Should initialize an empty laravel recipe rm -rf laravel && mkdir -p laravel && cd laravel lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis --option php='7.1' --option composer_version='1-latest' @@ -37,7 +37,7 @@ lando exec appserver -- curl -L localhost | grep "Laravel" # Should install 2.x version of laravel/installer cd laravel -lando exec appserver -c 'cd /var/www/.composer && composer show laravel/installer' | grep 'v2.' +lando exec appserver -- "cd /var/www/.composer && composer show laravel/installer" | grep 'v2.' # Should use 7.1 as the default php version cd laravel diff --git a/examples/7.2/README.md b/examples/7.2/README.md index 237c884..1602829 100644 --- a/examples/7.2/README.md +++ b/examples/7.2/README.md @@ -12,18 +12,18 @@ Run the following commands to get up and running with this example. # Should poweroff lando poweroff -# Initialize an empty laravel recipe +# Should initialize an empty laravel recipe rm -rf laravel && mkdir -p laravel && cd laravel -cp -f ../../.lando.upstream.yml .lando.upstream.yml && cat .lando.upstream.yml lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis --option php='7.2' --option composer_version='1-latest' -# Should composer create-project a new laravel app -cd laravel -lando composer create-project --prefer-dist laravel/laravel app - # Should start up successfully cd laravel +cp -f ../../.lando.upstream.yml .lando.upstream.yml && cat .lando.upstream.yml lando start + +# Should composer create-project a new laravel app +cd laravel +lando composer create-project --prefer-dist laravel/laravel app ``` ## Verification commands @@ -37,7 +37,7 @@ lando exec appserver -- curl -L localhost | grep "Laravel" # Should install 3.x version of laravel/installer cd laravel -lando exec appserver -c 'cd /var/www/.composer && composer show laravel/installer' | grep 'v3.' +lando exec appserver -- "cd /var/www/.composer && composer show laravel/installer" | grep 'v3.' # Should use 7.2 as the default php version cd laravel diff --git a/examples/laravel-init/README.md b/examples/laravel-init/README.md index a7da843..8bb1fd0 100644 --- a/examples/laravel-init/README.md +++ b/examples/laravel-init/README.md @@ -13,18 +13,18 @@ Run the following commands to get up and running with this example. # Should poweroff lando poweroff -# Initialize an empty laravel recipe +# Should initialize an empty laravel recipe rm -rf laravel && mkdir -p laravel && cd laravel lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel --option cache=redis + +# Should start up successfully +cd laravel cp -f ../../.lando.upstream.yml .lando.upstream.yml && cat .lando.upstream.yml +lando start # Should composer create-project a new laravel app cd laravel lando composer create-project --prefer-dist laravel/laravel app - -# Should start up successfully -cd laravel -lando start ``` ## Verification commands @@ -38,7 +38,7 @@ lando exec appserver -- curl -L localhost | grep "Laravel" # Should install 4.x version of laravel/installer cd laravel -lando exec appserver -c 'cd /var/www/.composer && composer show laravel/installer' | grep 'v4.' +lando exec appserver -- "cd /var/www/.composer && composer show laravel/installer" | grep 'v4.' # Should use 8.3 as the default php version cd laravel diff --git a/examples/laravel-mariadb-mysql/README.md b/examples/laravel-mariadb-mysql/README.md index 92cc3a9..811ee16 100644 --- a/examples/laravel-mariadb-mysql/README.md +++ b/examples/laravel-mariadb-mysql/README.md @@ -15,18 +15,18 @@ Run the following commands to get up and running with this example. # Should poweroff lando poweroff -# Initialize an empty laravel recipe +# Should initialize an empty laravel recipe rm -rf mariadb && mkdir -p mariadb && cd mariadb lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel-mariadb --option cache=redis --option php='8.3' --option database=mariadb:10.3 + +# Should start up successfully +cd mariadb cp -f ../../.lando.upstream.yml .lando.upstream.yml && cat .lando.upstream.yml +lando start # Should composer create-project a new laravel app cd mariadb lando composer create-project --prefer-dist laravel/laravel app - -# Should start up successfully -cd mariadb -lando start ``` ## Verification commands @@ -40,7 +40,7 @@ lando exec appserver -- curl -L localhost | grep "Laravel" # Should install 4.x version of laravel/installer cd mariadb -lando exec appserver -c 'cd /var/www/.composer && composer show laravel/installer' | grep 'v4.' +lando exec appserver -- "cd /var/www/.composer && composer show laravel/installer" | grep 'v4.' # Should use 8.3 as the default php version cd mariadb diff --git a/examples/laravel-mariadb/README.md b/examples/laravel-mariadb/README.md index 362986f..5ac4aba 100644 --- a/examples/laravel-mariadb/README.md +++ b/examples/laravel-mariadb/README.md @@ -13,18 +13,18 @@ Run the following commands to get up and running with this example. # Should poweroff lando poweroff -# Initialize an empty laravel recipe +# Should initialize an empty laravel recipe rm -rf mariadb && mkdir -p mariadb && cd mariadb lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel-mariadb --option cache=redis --option php='8.3' --option database=mariadb:11.3 + +# Should start up successfully +cd mariadb cp -f ../../.lando.upstream.yml .lando.upstream.yml && cat .lando.upstream.yml +lando start # Should composer create-project a new laravel app cd mariadb lando composer create-project --prefer-dist laravel/laravel app - -# Should start up successfully -cd mariadb -lando start ``` ## Verification commands diff --git a/examples/laravel-mysql8/README.md b/examples/laravel-mysql8/README.md index 7dd176c..53af620 100644 --- a/examples/laravel-mysql8/README.md +++ b/examples/laravel-mysql8/README.md @@ -13,18 +13,18 @@ Run the following commands to get up and running with this example. # Should poweroff lando poweroff -# Initialize an empty laravel recipe +# Should initialize an empty laravel recipe rm -rf mysql8 && mkdir -p mysql8 && cd mysql8 lando init --source cwd --recipe laravel --webroot app/public --name lando-laravel-mysql8 --option cache=redis --option php='8.1' --option database=mysql:8.0.22 + +# Should start up successfully +cd mysql8 cp -f ../../.lando.upstream.yml .lando.upstream.yml && cat .lando.upstream.yml +lando start # Should composer create-project a new laravel app cd mysql8 lando composer create-project --prefer-dist laravel/laravel app - -# Should start up successfully -cd mysql8 -lando start ``` ## Verification commands @@ -38,7 +38,7 @@ lando exec appserver -- curl -L localhost | grep "Laravel" # Should install 4.x version of laravel/installer cd mysql8 -lando exec appserver -c 'cd /var/www/.composer && composer show laravel/installer' | grep 'v4.' +lando exec appserver -- "cd /var/www/.composer && composer show laravel/installer" | grep 'v4.' # Should use 8.1 as the default php version cd mysql8