fix : doc et script de déploiement

This commit is contained in:
tristan
2026-01-22 16:51:48 +01:00
parent ac5a3493e7
commit 038596951d
3 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -37,6 +37,7 @@ jobs:
cd frontend
npm ci
NUXT_PUBLIC_API_BASE=/api NUXT_PUBLIC_APP_BASE=/ npm run generate
test -f .output/public/index.html
- name: Build artefact
shell: bash
@@ -54,7 +55,7 @@ jobs:
composer.json \
composer.lock \
symfony.lock \
frontend/.output/public
frontend/.output
- name: Create Release
uses: softprops/action-gh-release@v2
+13 -6
View File
@@ -5,10 +5,9 @@
</component>
<component name="ChangeListManager">
<list default="true" id="7c107abe-5995-4428-8429-b146aaca8386" name="Changes" comment="fix : doc et script de déploiement">
<change beforePath="$PROJECT_DIR$/.gitea/workflows/release-artefact.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.gitea/workflows/release-artefact.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/DEPLOYMENT.md" beforeDir="false" afterPath="$PROJECT_DIR$/DEPLOYMENT.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/deploy-release.sh" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/deploy-release.sh" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -267,7 +266,7 @@
<workItem from="1768374298711" duration="12403000" />
<workItem from="1768460547451" duration="26946000" />
<workItem from="1768547023783" duration="11371000" />
<workItem from="1768894030675" duration="51050000" />
<workItem from="1768894030675" duration="52167000" />
</task>
<task id="LOCAL-00001" summary="feat : Ajout de pinia, création de la table weight et reception mise en place du système de step pour les receptions (WIP)">
<option name="closed" value="true" />
@@ -477,7 +476,15 @@
<option name="project" value="LOCAL" />
<updated>1769094376813</updated>
</task>
<option name="localTasksCounter" value="27" />
<task id="LOCAL-00027" summary="fix : doc et script de déploiement">
<option name="closed" value="true" />
<created>1769096187792</created>
<option name="number" value="00027" />
<option name="presentableId" value="LOCAL-00027" />
<option name="project" value="LOCAL" />
<updated>1769096187792</updated>
</task>
<option name="localTasksCounter" value="28" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@@ -527,7 +534,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="feat : Ajout de pinia, création de la table weight et reception mise en place du système de step pour les receptions (WIP)" />
<MESSAGE value="feat : Ajout de zod, création d'un composant de chargement loading-dots.vue et finalisation du flow d'une reception" />
<MESSAGE value="feat : Ajout d'un composable pour la pesée qui sera réutilisable pour l'expédition, ajout de contrainte sur les entity de reception et weight pour plus de robustesse et correction de la class active des liens dans la nav" />
<MESSAGE value="feat : update du fichier AGENTS.md" />
@@ -552,7 +558,8 @@
<MESSAGE value="fix : affiche plus détail dans les logs en recette/prod" />
<MESSAGE value="fix : modification du script de déploiement pour corriger le problème d'écriture des logs de prod" />
<MESSAGE value="fix : doc de déploiement" />
<option name="LAST_COMMIT_MESSAGE" value="fix : doc de déploiement" />
<MESSAGE value="fix : doc et script de déploiement" />
<option name="LAST_COMMIT_MESSAGE" value="fix : doc et script de déploiement" />
</component>
<component name="XSLT-Support.FileAssociations.UIState">
<expand />
+6
View File
@@ -120,3 +120,9 @@ VALUES ('Mon user', '["ROLE_USER"]', 'Mon mdp hashé');
Pour suivre les logs en temps réel :
* tail -f var/log/dev.log
* tail -f var/log/prod.log
sudo usermod -aG www-data malio
sudo chown -R malio:www-data /var/www/ferme
sudo chmod -R g+rwX /var/www/ferme/var
sudo chmod -R g+rx /var/www/ferme