Skip to content

Commit

Permalink
fix tests part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Sep 6, 2024
1 parent dfe4f9d commit 9a858d2
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions examples/7.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions examples/7.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions examples/laravel-init/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions examples/laravel-mariadb-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions examples/laravel-mariadb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions examples/laravel-mysql8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9a858d2

Please sign in to comment.