You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
585 B
18 lines
585 B
#!/bin/bash |
|
cd /var/www/html |
|
echo "=== PHP version ===" |
|
php --version | head -1 |
|
|
|
echo "=== Load vendor + boot Laravel ===" |
|
php -r " |
|
require '/var/www/html/vendor/autoload.php'; |
|
\$app = require_once '/var/www/html/bootstrap/app.php'; |
|
echo 'App version: '.\$app->version().PHP_EOL; |
|
echo 'App booted: '.(\$app->isBooted() ? 'yes' : 'no').PHP_EOL; |
|
\$kernel = \$app->make(Illuminate\Contracts\Console\Kernel::class); |
|
\$kernel->bootstrap(); |
|
echo 'Kernel bootstrapped OK'.PHP_EOL; |
|
" 2>&1 |
|
|
|
echo "=== artisan route:list --path=ai ===" |
|
php artisan route:list --path=ai 2>&1 | grep -v Deprecated
|
|
|