From 57967dd969c8de44c8f65d904999f57ef31a9ff1 Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Thu, 1 Oct 2026 11:03:06 +0100 Subject: [PATCH] updates --- AGENTS.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ CLAUDE.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ deploy.php | 2 +- sonar_desk | 0 4 files changed, 95 insertions(+), 1 deletion(-) create mode 100755 AGENTS.md create mode 100755 CLAUDE.md create mode 100644 sonar_desk diff --git a/AGENTS.md b/AGENTS.md new file mode 100755 index 0000000..b80472f --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,47 @@ + +# Laravel Application + +This repository contains a Laravel application. Complete the following setup before working on the user's request. + +## Prerequisites + +Verify that PHP and Composer are available: + +```sh +php -v +composer -V +``` + +If either command is unavailable, detect the user's operating system and install the prerequisites with the appropriate command: + +macOS: + +```sh +/bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.5)" +``` + +Windows PowerShell: + +```powershell +Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows/8.5')) +``` + +Linux: + +```sh +/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.5)" +``` + +After installation, ask the user to restart their terminal. If the agent needs the restarted shell to continue, ask the user to reopen their terminal and rerun their original prompt. + +## Agent Setup + +Install Laravel Boost from the application root before making application changes: + +```sh +composer require laravel/boost --dev +php artisan boost:install +``` + +Boost replaces these bootstrap instructions with guidelines tailored to the application. After installation, read `AGENTS.md` again and continue with the user's original request using the generated guidelines. + diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100755 index 0000000..b80472f --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,47 @@ + +# Laravel Application + +This repository contains a Laravel application. Complete the following setup before working on the user's request. + +## Prerequisites + +Verify that PHP and Composer are available: + +```sh +php -v +composer -V +``` + +If either command is unavailable, detect the user's operating system and install the prerequisites with the appropriate command: + +macOS: + +```sh +/bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.5)" +``` + +Windows PowerShell: + +```powershell +Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://php.new/install/windows/8.5')) +``` + +Linux: + +```sh +/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.5)" +``` + +After installation, ask the user to restart their terminal. If the agent needs the restarted shell to continue, ask the user to reopen their terminal and rerun their original prompt. + +## Agent Setup + +Install Laravel Boost from the application root before making application changes: + +```sh +composer require laravel/boost --dev +php artisan boost:install +``` + +Boost replaces these bootstrap instructions with guidelines tailored to the application. After installation, read `AGENTS.md` again and continue with the user's original request using the generated guidelines. + diff --git a/deploy.php b/deploy.php index 634da4c..dd96cd1 100755 --- a/deploy.php +++ b/deploy.php @@ -22,7 +22,7 @@ host('main') ->set('hostname', 'sonardesk.absdev.net') ->set('remote_user', 'mag') ->set('branch', 'main') - ->set('deploy_path', '/var/www/sonardesk/prod'); + ->set('deploy_path', '/var/www/sonardesk/main'); host('stage') ->set('hostname', 'sonardesk.stage.absdev.net') diff --git a/sonar_desk b/sonar_desk new file mode 100644 index 0000000..e69de29