refactor : rename Inventory_frontend to frontend in docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-01 14:20:19 +02:00
parent 73b2cf300d
commit be859e57db
17 changed files with 227 additions and 227 deletions

View File

@@ -12,7 +12,7 @@ inventory.malio-dev.fr/api → Backend Symfony (PHP-FPM derrière Nginx)
| Composant | Technologie | Emplacement serveur |
|-----------|-------------|---------------------|
| Backend | Symfony 8 + API Platform | `/var/www/Inventory/` |
| Frontend | Nuxt 4 (site statique) | `/var/www/Inventory/Inventory_frontend/.output/public/` |
| Frontend | Nuxt 4 (site statique) | `/var/www/Inventory/frontend/.output/public/` |
| Base de données | PostgreSQL 16 | Base `inventory` |
### Schéma simplifié
@@ -117,7 +117,7 @@ php bin/console doctrine:migrations:migrate --no-interaction
### 4. Configurer le frontend Nuxt
```bash
cd /var/www/Inventory/Inventory_frontend
cd /var/www/Inventory/frontend
# Permissions
sudo chown -R malio:malio .
@@ -173,7 +173,7 @@ server {
# Frontend statique — tout le reste
location / {
root /var/www/Inventory/Inventory_frontend/.output/public;
root /var/www/Inventory/frontend/.output/public;
index index.html;
try_files $uri $uri/ /index.html; # SPA fallback
}
@@ -214,7 +214,7 @@ php bin/console cache:clear --env=prod
sudo chown -R www-data:www-data var/
# Frontend
cd Inventory_frontend
cd frontend
npm install
npx nuxi generate
```
@@ -268,7 +268,7 @@ php /var/www/Inventory/bin/console cache:clear --env=prod
Les fichiers statiques sont en cache. Rebuilder :
```bash
cd /var/www/Inventory/Inventory_frontend
cd /var/www/Inventory/frontend
rm -rf .output
npx nuxi generate
```
@@ -299,7 +299,7 @@ tail -f /var/www/Inventory/var/log/prod.log
php /var/www/Inventory/bin/console cache:clear --env=prod
# Rebuild frontend
cd /var/www/Inventory/Inventory_frontend && npx nuxi generate
cd /var/www/Inventory/frontend && npx nuxi generate
# Status des services
systemctl status php8.4-fpm