Compare commits

..

No commits in common. "42014c458cfbdac7b22d7702ee1cd486cad99057" and "d8cda5b87f6e2cd41871733f13cb4898ad0492ba" have entirely different histories.

4 changed files with 1 additions and 46 deletions

View File

@ -6,37 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
Libra Law Firm is a bilingual (Arabic/English) web platform for managing client consultations, appointments, and case tracking. It serves as both a public-facing website and an internal management tool.
**Domain:** libra.adv.ps (production), libra.test (local)
## Production Environment
- **Server:** Rocky Linux 9.6 on 69.62.106.94
- **PHP:** 8.4 (use `php84` command, not `php`)
- **Database:** MariaDB/MySQL
### Production Commands
All artisan commands on production require `php84` prefix:
```bash
php84 artisan migrate
php84 artisan config:cache
php84 artisan optimize:clear
```
### Deployment Checklist
```bash
# On production server
composer install --no-dev --optimize-autoloader
php84 artisan migrate --force
php84 artisan optimize:clear
php84 artisan config:cache
php84 artisan route:cache
php84 artisan view:cache
# IMPORTANT: Always restart PHP-FPM after deployment
sudo systemctl restart php84-php-fpm
```
**Note:** The server has both PHP 8.3 and 8.4. Always use `php84` for artisan commands. Failing to restart PHP-FPM can cause cached config issues.
**Domain:** libra.ps
## Development Commands

View File

@ -5,11 +5,6 @@ use Livewire\Volt\Component;
new class extends Component
{
public function refresh(): void
{
// Explicit refresh method for wire:poll compatibility
}
public function with(): array
{
return [

View File

@ -5,11 +5,6 @@ use Livewire\Volt\Component;
new class extends Component
{
public function refresh(): void
{
// Explicit refresh method for wire:poll compatibility
}
public function with(): array
{
return [

View File

@ -5,11 +5,6 @@ use Livewire\Volt\Component;
new class extends Component
{
public function refresh(): void
{
// Explicit refresh method for wire:poll compatibility
}
public function with(): array
{
return [