# Stack
- NUXT 4
- VueJS 3.5
- Tailwindcss pour les pages professionnels

# Dev du site en local
## NUXT
Démarrer NUXT
- npm run dev
- URL : http://localhost:3000/

# Variables d'environnement
Elles sont **définies** dans `ecosystem.config.cjs` (PM2) et **consommées** dans `nuxt.config.js` via `runtimeConfig`.

Exemples de variables :
- `NUXT_PUBLIC_STRAPI_URL`
- `NUXT_PUBLIC_SAISON`
- `NUXT_STRAPI_TOKEN`

Utilisation dans le code :
- `runtimeConfig.public.saison`
- `runtimeConfig.public.strapiUrl`

Après modification de `ecosystem.config.cjs` :
- `pm2 reload ecosystem.config.cjs --only wondif_vue`

# Site de développement
## URL
https://2025.orchestre-ile.com/

## Serveur web
Créer un vrai /security.txt (ou /.well-known/security.txt) au lieu de le renvoyer en 404.
  dans le fichier de conf NGINX /etc/nginx/sites-available$ sudo nano wondif_2025
    # Fichier standard optionnel (si tu ne le fournis pas)
    location = /security.txt { return 404; }

# METTRE EN LIGNE LE DEV AVEC GITEA
Serveur GITEA https://git.parisweb.art/

## Du dev vers Gitea
git add .
git commit -m "Mon message de commit"
git push origin main

### Avec VCS
1. Onglet **Source Control**
2. Vérifie la liste **Changes**
3. Clique sur + (stage)
    - fichier par fichier **ou**
    - + à côté de *Changes* (tout)
4. Renseigne un **message de commit**
5. Clique sur ✔️ **Commit**
6. clique sur **Sync Changes**

## Du Gitea vers VPS
1. Se connecter au VPS
2. cd /var/www/wondif_vue
3.
git pull origin main        # récupère le dernier code
si besoin (ajout de dépendances)
    npm ci                      # installe / met à jour les dépendances (à exécuter uniquement si nouvelle dépendances installées dans package json)
Si nouvelle variable d'env
    ajouter la variable dans le fichier `more ecosystem.config.cjs` manuellement
npm run build               # rebuild Nuxt
pm2 reload ecosystem.config.cjs --only wondif_vue     # redémarre le process avec les nouvelles variables d'environnement de ecosystem

# URL
/inscriptions/projet_lycee

# STRAPI
## URL de PROD
bo.orchestre-ile.com

## après modifications des fichiers src/... on rebuild strapiwww
cd strapi_wondif/
NODE_ENV=production npm run build
pm2 list
pm2 restart strapi_wondif
pm2 list



## dev en local
- lancer MAMP pour activer la BD de STRAPI
- lancer : npm run develop
- URL de dev : http://localhost:1337

### vérifier le json de l'enpoint strapi

http://localhost:3000/api/__strapi__/concerts
http://localhost:3000/api/__strapi__/concerts?populate=*
http://localhost:3000/api/__strapi__/concerts?populate[artistes_ondif_concert][populate]=postes_artiste_ondif
http://localhost:3000/api/__strapi__/concerts?populate=*&populate[artistes_ondif_concert][populate]=postes_artiste_ondif
http://localhost:3000/api/__strapi__/concerts?populate[saison_concert]=true&populate[genre_concert]=true&populate[type_audience_concert]=true&populate[direction_ondif_concert][populate]=postes_artiste_ondif&populate[direction_invite_concert][populate]=postes_artiste_invite&populate[artistes_ondif_concert][populate]=postes_artiste_ondif&populate[artistes_invite_concert][populate]=postes_artiste_invite

API pour avoir tout de Concerts
http://localhost:3000/api/__strapi__/concerts?populate[saison_concert]=true&populate[genre_concert]=true&populate[type_audience_concert]=true&populate[direction_ondif_concert][populate]=postes_artiste_ondif&populate[direction_invite_concert][populate]=postes_artiste_invite&populate[artistes_ondif_concert][populate]=postes_artiste_ondif&populate[artistes_invite_concert][populate]=postes_artiste_invite&populate[image_illustration_concert]=true&populate[images_concert]=true&populate[videos_concert]=true&populate[audios_concert]=true&populate[programme_concert]=true&populate[representation_concert][populate]=lieu_representation&populate[liens_youtube_concert]=true

https://bo.orchestre-ile.com/api/concerts?populate[saison_concert]=true&populate[genre_concert]=true&populate[type_audience_concert]=true&populate[direction_ondif_concert][populate]=postes_artiste_ondif&populate[direction_invite_concert][populate]=postes_artiste_invite&populate[artistes_ondif_concert][populate]=postes_artiste_ondif&populate[artistes_invite_concert][populate]=postes_artiste_invite&populate[image_illustration_concert]=true&populate[images_concert]=true&populate[videos_concert]=true&populate[audios_concert]=true&populate[programme_concert]=true&populate[representation_concert][populate]=lieu_representation&populate[liens_youtube_concert]=true

/api/__strapi__/concerts?
populate[saison_concert]=true&
populate[genre_concert]=true&
populate[type_audience_concert]=true&
populate[direction_ondif_concert][populate]=postes_artiste_ondif&
populate[direction_invite_concert][populate]=postes_artiste_invite&
populate[artistes_ondif_concert][populate]=postes_artiste_ondif&
populate[artistes_invite_concert][populate]=postes_artiste_invite&
populate[image_illustration_concert]=true&
populate[images_concert]=true&
populate[videos_concert]=true&
populate[audios_concert]=true&
populate[programme_concert]=true&
populate[representation_concert][populate]=lieu_representation&
populate[liens_youtube_concert]=true


API pour avoir la page Les Missions
https://bo.orchestre-ile.com/api/mission?locale=fr-FR&populate=image_illustration_header
https://bo.orchestre-ile.com/api/mission?locale=fr-FR&populate=*

https://bo.orchestre-ile.com/api/pro-programmer?locale=fr-FR&populate[bios]=true&populate[logos]=true&populate[Contacts]=true&populate[photos_orchestre]=true&populate[musique_chambre][populate][images]=true&populate[musique_chambre][populate][documents]=true&populate[musique_chambre][populate][videos]=true

https://bo.orchestre-ile.com/api/pro-programmer?locale=fr-FR&populate[bios]=true&populate[logos]=true&populate[Contacts]=true&populate[photos_orchestre]=true&populate[musique_chambre][populate][images]=true&populate[musique_chambre][populate][documents]=true&populate[musique_chambre][populate][videos]=true&populate[categorie][populate][evenement][populate][images]=true&populate[categorie][populate][evenement][populate][documents]=true&populate[categorie][populate][evenement][populate][videos]=true

https://bo.orchestre-ile.com/api/pro-programmer?locale=fr-FR&populate[bios]=true&populate[logos]=true&populate[Contacts]=true&populate[photos_orchestre]=true&populate[musique_chambre][populate]=images,documents,videos&populate[categorie][populate][evenement][populate]=images,documents,videos

API Instruments
https://bo.orchestre-ile.com/api/parc-instruments?locale=fr-FR&populate=illustration_instrument


https://bo.orchestre-ile.com/api/home-partout-pour-tous?locale=fr-FR&populate[carte][populate][illustration]=true

https://bo.orchestre-ile.com/api/home-tous-orchestre?locale=fr-FR&populate[carte][populate][illustration]=true

https://bo.orchestre-ile.com/api/home-tous-orchestre?locale=fr-FR&populate[carte][populate][illustration]=true

https://bo.orchestre-ile.com/api/actualites?populate[image_illustration_actu]=true&populate[images_actu]=true&populate[liens_youtube_actu]=true
?populate[saison_concert]=true&populate[genre_concert]=true&populate[type_audience_concert]=true&populate[direction_ondif_concert][populate]=postes_artiste_ondif&populate[direction_invite_concert][populate]=postes_artiste_invite&populate[artistes_ondif_concert][populate]=postes_artiste_ondif&populate[artistes_invite_concert][populate]=postes_artiste_invite&populate[image_illustration_concert]=true&populate[images_concert]=true&populate[videos_concert]=true&populate[audios_concert]=true&populate[programme_concert]=true&populate[representation_concert][populate]=lieu_representation&populate[liens_youtube_concert]=true

j'ai créé le endpoint home-tous-orchestre strapi pour saisir le contenu de cards. Donc peux-tu le remplacer par ce contenu strapi ?

### Afficher les données récupérées ou les erreurs dans la console
  const { items: scolaires, pending, error } = useStrapi(
    endpoint,
    {
      locale: "fr-FR",
      populate,
      limit: 1,
    }
  )
  console.log("scolaires:", scolaires.value)
  watchEffect(() => {
    console.log("client ?", import.meta.client)
    console.log("server ?", import.meta.server)
    console.log("pending:", pending.value)
    console.log("error:", error.value)
    console.log("scolaires:", scolaires.value)
  })

  watchEffect(() => {
    if (!pending.value && scolaires.value?.length) {
      console.log("scolaires dans le watch effect:", scolaires.value)
    }
  })

## SAISIE DU CONTENU
### slug
- concert
    - mettre le nom du concert avec la date

# CSS
## LAYOUT

@media (min-width: 0px) {
    max-width: 100%;
}
@media (min-width: 600px) {
    max-width: 580px;
}
@media (min-width: 700px) {
    max-width: 660px;
}
@media (min-width: 800px) {
    max-width: 780px;
}   
@media (min-width: 900px) {
    max-width: 860px;
}
@media (min-width: 1000px) {
    max-width: 950px;
}
@media (min-width: 1100px) {
    max-width: 1020px;
}
@media (min-width: 1200px) {
    max-width: 1100px;
}
@media (min-width: 1300px) {
    max-width: 1200px;
}
@media (min-width: 1400px) {
    max-width: 1300px;
}
@media (min-width: 1500px) {
    max-width: 1400px;
}

## débordement = les identifier visuellement
code javascript, à coller dans la partie "console" du navigateur, pour mettre cette ligne outile rouge et le backgroud à tous les éléments de body pour voir les débordements
Array.from(document.querySelectorAll('body > *')).forEach(el => {
  el.style.outline = '1px solid red';
  el.style.backgroundColor = 'rgba(255, 0, 0, 0.3)'; // Utilisation de rgba pour une semi-transparence
});



  @media (max-width: 980px) {
    .decalage_gauche {
      margin-left: -23px;
    }
  }

01_siick_smol_girlfriend_5m50.mp3
02_siick_lunar_blast 213_5m13.wav
03_siick_crystal_cavern_5m24.wav


01_leon_romanens_8m49_stereo.wav
02_marie_pierre_8m57_stereo.wav
03_siick_7m23_stereo.wav
04_celine_espuna_4m34_stereo.wav
06_walid_nouh_6m44_stereo.wav
08_codimp_7m43_stereo.wav
05_adrien_bourmault_7m53_stereo.wav
07_rafael_muniz_3m15_stereo.wav



debian@vps-48ebe2d9:~$ history
    1  sudo nano ~/.bashrc
    2  exit
    3  ll
    4  date
    5  sudo ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
    6  date
    7  cd /
    8  sudo apt update
    9  apt list --upgradable
   10  sudo apt upgrade
   11  apt list --upgradable
   12  sudo nano /etc/ssh/sshd_config
   13  sudo systemctl restart sshd
   14  exit
   15  sudo apt install fail2ban
   16  cd /etc/fail2ban/
   17  ll
   18  sudo nano /etc/fail2ban/jail.conf
   19  sudo service fail2ban reload
   20  sudo service fail2ban status
   21  sudo service fail2ban start
   22  sudo service fail2ban status
   23  fail2ban-client status
   24  ll
   25  www
   26  cd /
   27  ll
   28  www
   29  cd var
   30  ll
   31  date
   32  cd /
   33  sudo apt update
   34  apt list --upgradable
   35  sudo apt upgrade
   36  cd /etc/fail2ban/
   37  sudo service fail2ban status
   38  systemctl status nginx
   39  sudo apt install nginx
   40  systemctl status nginx
   41  sudo systemctl enable nginx
   42  sudo systemctl is-enabled nginx
   43  sudo nano /etc/nginx/nginx.conf
   44  sudo systemctl reload nginx
   45  systemctl status nginx
   46  www
   47  ll
   48  cd ..
   49  ll
   50  cd www
   51  ll
   52  cd html/
   53  ll
   54  cd www
   55  ll
   56  www
   57  ll
   58  sudo mkdir wondif_2025
   59  ll
   60  cd wondif_2025/
   61  sudo nano index.html
   62  ll
   63  more index.html
   64  cd /etc/nginx/sites-available
   65  ll
   66  de default
   67  more default
   68  sudo nano wondif_2025
   69  ll
   70  more wondif_2025
   71  cd /etc/nginx/sites-enabled
   72  ll
   73  sudo ln -s /etc/nginx/sites-available/wondif_2025 /etc/nginx/sites-enabled/
   74  ll
   75  sudo nginx -t
   76  systemctl restart nginx
   77  systemctl status nginx
   78  www
   79  ll
   80  cd wondif_2025/
   81  ll
   82  pwd
   83  cd /etc/nginx/sites-available
   84  ll
   85  more wondif_2025
   86  www
   87  ll
   88  cd wondif_2025/
   89  ll
   90  sudo nano index.html
   91  www
   92  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
   93  exit
   94  python3 --version
   95  sudo apt install certbot python3-certbot-nginx
   96  cd /etc/nginx/sites-available
   97  ll
   98  sudo nano strapi_wondif
   99  cd /etc/nginx/sites-enabled
  100  ll
  101  sudo ln -s /etc/nginx/sites-available/strapi_wondif /etc/nginx/sites-enabled/
  102  ll
  103  sudo nginx -t
  104  systemctl restart nginx
  105  systemctl status nginx
  106  cd /etc/nginx/sites-available
  107  sudo certbot --nginx -d 2025.orchestre-ile.com
  108  ll
  109  more wondif_2025
  110  sudo certbot --nginx -d bo.orchestre-ile.com
  111  ll
  112  more strapi_wondif
  113  sudo certbot certificates
  114  sudo nginx -t
  115  systemctl restart nginx
  116  systemctl status nginx
  117  ll
  118  sudo nano wondif_2025
  119  systemctl restart nginx
  120  systemctl status nginx
  121  www
  122  nvm --version
  123  nvm ls-remote
  124  nvm install 22.18.0
  125  node -v
  126  corepack enable yarn
  127  yarn -v
  128  www
  129  yarn global add pm2
  130  pm2 start
  131  pm2 list
  132  cd /
  133  pm2 list
  134  yarn global bin
  135  more ~/.bashrc
  136  sudo nano ~/.bashrc
  137  nano ~/.bashrc
  138  source ~/.bashrc
  139  pm2 start
  140  pm2 list
  141  mysql -u root -p
  142  cd /
  143  ll
  144  sudo apt install gnupg
  145  cd /home/debian
  146  wget https://dev.mysql.com/get/mysql-apt-config_0.8.34-1_all.deb // version du 04/08/2025
  147  ll
  148  sudo dpkg -i mysql-apt-config*
  149  apt update
  150  sudo apt update --allow-insecure-repositories
  151  sudo apt-get upgrade
  152  sudo apt update
  153  sudo apt install mysql-server
  154  sudo systemctl status mysql
  155  sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
  156  sudo systemctl restart mysql
  157  sudo systemctl status mysql
  158  mysql -u root -p
  159  sav
  160  ll
  161  sudo nano strapi_wondif
  162  sudo nginx -t
  163  sudo nano strapi_wondif
  164  www
  165  ll
  166  cd strapi_wondif/
  167  ll
  168  rm strapi_wondif.js
  169  ll
  170  sav
  171  ll
  172  sudo nginx -t
  173  more strapi_wondif
  174  sudo nano strapi_wondif
  175  sudo nginx -t
  176  sudo nano strapi_wondif
  177  systemctl restart nginx
  178  systemctl status nginx
  179  www
  180  ll
  181  cd strapi_wondif/
  182  ll
  183  more .env
  184  www
  185  ll
  186  cd /var
  187  ll
  188  chown debian www
  189  ll
  190  sudo chown debian www
  191  wwww
  192  www
  193  ll
  194  yarn create strapi
  195  ll
  196  cd strapi_wondif/
  197  ll
  198  sudo nano strapi_wondif.js
  199  yarn strapi_wondif start
  200  ll
  201  more package.json
  202  NODE_OPTIONS="--max-old-space-size=2048" NODE_ENV=production yarn build
  203  yarn run start
  204  ll
  205  pm2 start yarn --name strapi_wondif -- start
  206  pm2 logs strapi_wondif
  207  pm2 list
  208  pm2 logs strapi_wondif
  209  pm2 list
  210  pm2 save
  211  pm2 startup systemd
  212  sudo env PATH=$PATH:/home/debian/.nvm/versions/node/v22.18.0/bin /home/debian/.config/yarn/global/node_modules/pm2/bin/pm2 startup systemd -u debian --hp /home/debian
  213  pm2 list
  214  ll
  215  date
  216  cd /
  217  sudo apt update
  218  sudo apt list --upgradable
  219  sudo apt upgrade
  220  sudo apt update
  221  sudo iptables -L
  222  sudo apt install fail2ban
  223  cd /etc/fail2ban/
  224  ls
  225  ll
  226  cd /var/log/fail2ban.log
  227  cd /var/log/
  228  ll
  229  more fail2ban.log
  230  fail2ban-client status
  231  sudo fail2ban-client status
  232  sudo  apt-get install net-tools
  233  netstat -a
  234  ls
  235  cd /
  236  ls
  237  cd var
  238  ls
  239  ll
  240  cd www
  241  ll
  242  sav
  243  ll
  244  more wondif_2025
  245  ll
  246  sudo nano wondif_media
  247  more wondif_media
  248  sudo nano wondif_media
  249  more wondif_media
  250  cd /etc/nginx/sites-enabled
  251  sudo ln -s /etc/nginx/sites-available/wondif_media /etc/nginx/sites-enabled/
  252  ll
  253  sudo certbot --nginx -d media.orchestre-ile.com
  254  sav
  255  ll
  256  more wondif_media
  257  sudo nginx -t
  258  systemctl restart nginx
  259  systemctl status nginx
  260  www
  261  ll
  262  pm2
  263  pm2 list
  264  ls
  265  cd strapi_wondif/
  266  ll
  267  pwd
  268  npm install @strapi/provider-upload-aws-s3 --save
  269  ls
  270  ll
  271  cd config/
  272  ll
  273  more plugins.js
  274  sudo nano plugins.js
  275  ll
  276  cd ;;
  277  cd..
  278  ll
  279  cd ..
  280  ll
  281  sudo nano .env
  282  npm run build
  283  npm run start
  284  ll
  285  pm2 list
  286  pm2 restart strapi_wondif
  287  ll
  288  cd config/
  289  ll
  290  more plugins.js
  291  sudo nano plugins.js
  292  pm2 restart strapi_wondif
  293  sudo nano plugins.js
  294  sav
  295  ll
  296  ls
  297  sudo nano strapi_wondif
  298  sudo nano wondif_media
  299  sudo nginx -t
  300  sudo systemctl reload nginx
  301  pm2 restart strapi_wondif
  302  www
  303  ll
  304  cd strapi_wondif/
  305  ll
  306  cd config/
  307  ll
  308  sudo nano middlewares.js
  309  pm2 restart strapi_wondif
  310  pm2 stop strapi_wondif
  311  npm run build
  312  pm2 start strapi_wondif
  313  www
  314  ll
  315  cd wondif_2025/
  316  pwd
  317  ll
  318  sav
  319  ll
  320  more wondif_2025
  321  www
  322  ll
  323  cd wondif_2025/
  324  ll
  325  cd ..
  326  ll
  327  mv wondif_2025 wondif_2025_old
  328  ll
  329  git clone git@git.parisweb.art:gitea_admin/wondif_vue.git
  330  sudo apt update
  331  sudo apt install git -y
  332  git --version
  333  git clone git@git.parisweb.art:gitea_admin/wondif_vue.git
  334  git clone https://git.parisweb.art/gitea_admin/wondif_vue
  335  ll
  336  cd wondif_vue/
  337  ll
  338  sav
  339  ll
  340  sudo nano wondif_2025
  341  sudo nginx -t
  342  sudo systemctl reload nginx
  343  www
  344  ll
  345  cd wondif_vue/
  346  ll
  347  sudo nano .env
  348  npm ci
  349  npm run build
  350  ll
  351  pm2 list
  352  pm2 start npm --name "wondif_vue" -- run start
  353  pm2 save
  354  pm2 logs wondif_vue
  355  curl http://127.0.0.1:3000
  356  sav
  357  ll
  358  sudo nano wondif_2025
  359  www
  360  ll
  361  cd wondif_vue/
  362  ll
  363  wondif_vue/
  364  cat package.json
  365  sudo nano package.json
  366  cat package.json
  367  npm run build
  368  pm2 list
  369  pm2 stop wondif_vue
  370  pm2 start wondif_vue
  371  pm2 logs wondif_vue
  372  curl http://127.0.0.1:3000
  373  sav
  374  ll
  375  more wondif_2025
  376  sudo nano wondif_2025
  377  sudo nginx -t
  378  sudo systemctl reload nginx
  379  more wondif_2025
  380  www
  381  ll
  382  cd wondif_vue/
  383  ll
  384  cd public/
  385  ll
  386  cd img/
  387  ll
  388  cd photos/
  389  ll
  390  mv zaho_2.jpg zaho.jpg
  391  ll
  392  cd /var/www/wondif_vue
  393  ll
  394  npm ci
  395  npm run build
  396  pm2 restart wondif_vue
  397  git pull origin main
  398  rm public/img/photos/zaho.jpg
  399  git pull origin main
  400  npm ci
  401  npm run build
  402  ll
  403  more .env
  404  pm2 list
  405  pm2 logs wondif_vue
  406  cd /home/debian/.pm2/logs/
  407  ll
  408  more strapi-wondif-error.log
  409  ll
  410  truncate -s 0  strapi-wondif-error.log
  411  ll
  412  more strapi-wondif-out.log
  413  ll
  414  truncate -s 0  strapi-wondif-out.log
  415  ll
  416  more wondif-vue-error.log
  417  ll
  418  truncate -s 0  wondif-vue-error.log
  419  more wondif-vue-out.log
  420  ll
  421  truncate -s 0 wondif-vue-out.log
  422  www
  423  ll
  424  cd wondif_vue/
  425  ll
  426  cd app
  427  ll
  428  cd components/
  429  ll
  430  more header_content.vue
  431  ll
  432  more header_full.vue
  433  ll
  434  cd ..
  435  ll
  436  more app.vue
  437  ll
  438  cd pages/
  439  ll
  440  more index.vue
  441  ll
  442  more agenda.vue
  443  www
  444  ll
  445  cd wondif_vue/
  446  ll
  447  cd app/
  448  ll
  449  cd pages/
  450  ll
  451  more index.vue
  452  cd ..
  453  ll
  454  cd components/
  455  ll
  456  more header_full.vue
  457  ll
  458  more header_content.vue
  459  www
  460  ll
  461  cd wondif_vue/
  462  ll
  463  sav
  464  ll
  465  more wondif_2025
  466  sudo adduser --disabled-password --gecos "" deploy
  467  sudo usermod -aG www-data deploy
  468  cd /
  469  ll
  470  cd srv
  471  ll
  472  sudo ll
  473  sudo ls
  474  ls
  475  ll
  476  cd 2025
  477  sudo mkdir -p /srv/apps/wondif_vue
  478  ll
  479  sudo chown -R deploy:deploy /srv/apps/wondif_vue
  480  ll
  481  sudo -u deploy ssh-keygen -t ed25519 -C "deploy@server" -f /home/deploy/.ssh/id_ed25519
  482  sudo -u deploy cat /home/deploy/.ssh/id_ed25519.pub
  483  sudo -u deploy ssh -T git@git.parisweb.art
  484  sudo -u deploy ssh -T gitea_admin@git.parisweb.art
  485  sudo -u deploy ssh -T git@git.parisweb.art
  486  sudo -u deploy ssh -T git@git.parisweb.art; echo "EXIT=$?"
  487  cd /home
  488  ll
  489  cd deploy/
  490  ll
  491  sudo cd deploy/
  492  sudo -u deploy rm -f /home/deploy/.ssh/id_ed25519
  493  sudo -u deploy rm -f /home/deploy/.ssh/id_ed25519.pub
  494  sudo -u deploy rm -f /home/deploy/.ssh/known_hosts
  495  sudo -u deploy ls -la /home/deploy/.ssh
  496  sudo -u deploy ls -la /home/deploy/
  497  sudo -u deploy ssh-keygen -t ed25519 -C "deploy@bookstore" -f /home/deploy/.ssh/id_ed25519
  498  sudo -u deploy cat /home/deploy/.ssh/id_ed25519.pub
  499  sudo -u deploy rm -f /home/deploy/.ssh/id_ed25519
  500  sudo -u deploy rm -f /home/deploy/.ssh/id_ed25519.pub
  501  sudo -u deploy rm -f /home/deploy/.ssh/known_hosts
  502  sudo -u deploy ls -la /home/deploy/.ssh
  503  sudo -u deploy ssh-keygen -t ed25519 -C "deploy@wondif_vue" -f /home/deploy/.ssh/id_ed25519
  504  sudo -u deploy cat /home/deploy/.ssh/id_ed25519.pub
  505  sudo -u deploy ssh -T git@git.parisweb.art
  506  sudo ss -lntp | grep -E ':22|:2222|:3000|:3022|:2200'
  507  sudo -u deploy rm -f /home/deploy/.ssh/id_ed25519
  508  sudo -u deploy rm -f /home/deploy/.ssh/id_ed25519.pub
  509  sudo -u deploy rm -f /home/deploy/.ssh/known_hosts
  510  sudo -u deploy ls -la /home/deploy/.ssh
  511  sudo -u deploy nano /home/deploy/.netrc
  512  sudo -u deploy more /home/deploy/.netr
  513  sudo chmod 600 /home/deploy/.netrc
  514  sudo chown deploy:deploy /home/deploy/.netrc
  515  sudo -u deploy git ls-remote https://git.parisweb.art/gitea_admin/wondif_vue
  516  cd /srv
  517  ll
  518  cd apps/
  519  ll
  520  cd wondif_vue/
  521  ll
  522  sudo -u deploy git clone https://git.parisweb.art/gitea_admin/wondif_vue /srv/apps/wondif_vue
  523  ll
  524  more .git
  525  more README.md
  526  cd /opt
  527  ll
  528  cd /var
  529  ll
  530  cd log/
  531  ll
  532  sudo mkdir -p /opt/deploy/wondif_vue /var/log/deploy
  533  ll
  534  sudo chown -R deploy:deploy /opt/deploy/wondif_vue /var/log/deploy
  535  sudo -u deploy nano /opt/deploy/wondif_vue/deploy.sh
  536  sudo chmod +x /opt/deploy/wondif_vue/deploy.sh
  537  cd /opt/
  538  ll
  539  cd deploy/
  540  ll
  541  cd wondif_vue/
  542  ll
  543  sudo -u nano deploy.sh
  544  sudo -u deploy nano deploy.sh
  545  pm2 list
  546  cd www
  547  ll
  548  www
  549  ll
  550  cd wondif_vue/
  551  ll
  552  more package.json
  553  cd ..
  554  ll
  555  cd wondif_vue/
  556  ll
  557  sudo chmod +x /opt/deploy/wondif_vue/deploy.sh
  558  www
  559  ll
  560  cd wondif_vue/
  561  ll
  562  git pull origin main
  563  more package.json
  564  more .gitignore
  565  sudo nano .gitignore
  566  more package.json
  567  git pull origin main
  568  git fetch origin
  569  git reset --hard origin/main
  570  git status
  571  git pull origin main
  572  npm ci
  573  npm run build
  574  ll
  575  pm2 list
  576  pm2 restart wondif_vue
  577  pm2 describe wondif_vue
  578  pm2 list
  579  cd /home/debian/.pm2/logs/
  580  ll
  581  more wondif-vue-error.log
  582  pm2 logs wondif_vue --lines 200
  583  sav
  584  ll
  585  sudo nano wondif_2025
  586  sudo nginx -t
  587  sudo systemctl reload nginx
  588  pm2 flush
  589  pm2 list
  590  pm2 logs wondif_vue --err --lines 80
  591  pm2 reset wondif_vue
  592  pm2 list
  593  pm2 describe wondif_vue
  594  pm2 logs wondif_vue
  595  www
  596  ll
  597  cd wondif_vue
  598  ll
  599  git status
  600  git pull origni main
  601  git pull origin main
  602  npm ci
  603  npm run build
  604  pm2 list
  605  pm2 restart wondif_vue
  606  git pull origin main
  607  npm ci
  608  git pull origin main
  609  npm run build
  610  pm2 restart wondif_vue
  611  npx strapi version
  612  ll
  613  cd ..
  614  ll
  615  cd strapi_wondif/
  616  ll
  617  more README.md
  618  npx strapi version
  619  pm2 list
  620  pm2 stop strapi_wondif
  621  npx @strapi/upgrade latest
  622  npx strapi version
  623  NODE_ENV=production npm run build
  624  pm2 list
  625  pm2 start strapi_wondif
  626  pm2 list
  627  mysql --version
  628  mysql -u root -p
  629  pm2 list
  630  www
  631  ll
  632  cd strapi_wondif/
  633  ll
  634  NODE_ENV=production npm run build
  635  pm2 list
  636  pm2 restart strapi_wondif
  637  pm2 list
  638  cd strapi_wondif/
  639  www
  640  cd strapi_wondif/
  641  NODE_ENV=production npm run build
  642  pm2 list
  643  pm2 restart strapi_wondif
  644  pm2 list
  645  date
  646  mysql -u root -p
  647  SHOW VARIABLES LIKE '%time_zone%';
  648  SHOW VARIABLES LIKE '%time_zone%'; SELECT @@global.time_zone, @@session.time_zone;
  649  SELECT NOW() AS now_local, UTC_TIMESTAMP() AS now_utc, TIMEDIFF(NOW(), UTC_TIMESTAMP()) AS diff;
  650  show databeses
  651  show databeses;
  652  history
  653  mysql -u root -p
  654  pm2 list
  655  pm2 describe strapi_wondif
  656  TZ=Europe/Paris pm2 restart strapi_wondif --update-env
  657  pm2 describe strapi_wondif
  658  ll
  659  cd src
  660  ll
  661  cd admin/
  662  ll
  663  mv app.example.js app.js
  664  ll
  665  sudo nano app.js
  666  more app.js
  667  cd ..
  668  ll
  669  NODE_ENV=production npm run build
  670  pm2 list
  671  pm2 restart strapi_wondif
  672  pm2 list
  673  ll
  674  more jsconfig.json
  675  ll
  676  cd config/
  677  ll
  678  cd ..
  679  ll
  680  cd build/
  681  ll
  682  cd ..
  683  ll
  684  sudo nano
  685  ll
  686  more ecosystem.config.js
  687  pm2 list
  688  pm2 strapi_wondif stop
  689  pm2 stop strapi_wondif
  690  pm2 start ecosystem.config.js
  691  pm2 list
  692  pm2 env 0 | grep -E '^TZ=|^NODE_ENV='
  693  ll
  694  rm ecosystem.config.js
  695  pm2 list
  696  pm2 stop strapi_wondif
  697  pm2 restart strapi_wondif
  698  pm2 stop strapi_wondif
  699  sudo nano
  700  ll
  701  pm2 list
  702  sudo nano eco
  703  sudo nano ecosystem.config.js
  704  pm2 start ecosystem.config.js
  705  pm2 describe strapi_wondif2
  706  pm2 stop strapi_wondif2
  707  pm2 delete strapi_wondif2
  708  rm ecosystem.config.js
  709  pm2 reload strapi_wondif
  710  pm2 list
  711  cd /etc/nginx
  712  ll
  713  cd sites-available
  714  ll
  715  more wondif_media
  716  ll
  717  sudo nano wondif_media
  718  nginx -t
  719  sudo nginx -t
  720  sudo nginx -s reload
  721  systemctl restart nginx
  722  cd www
  723  www
  724  ll
  725  cd wondif_vue/
  726  ll
  727  git pull origin main
  728  npm ci
  729  ll
  730  cd app
  731  ll
  732  cd pages/
  733  ll
  734  cd concerts/
  735  ll
  736  www
  737  cd wondif_vue/
  738  ll
  739  npm run build
  740  pm2 list
  741  pm2 restart wondif_vue
  742  pm2 logs wondif_vue --lines 100
  743  ll
  744  sudo nano .env
  745  pm2 logs strapi_wondif --lines 100
  746  pm2 show wondif_vue
  747  pm2 env 1
  748  sudo nano .env
  749  ll
  750  sudo nano .env
  751  pm2 show wondif_vue
  752  ll
  753  more package.json
  754  pm2 restart wondif_vue
  755  pm2 show wondif_vue
  756  pm2 env 1
  757  ll
  758  sudo nano v
  759  sudo nano nuxt.config.js
  760  npm run build
  761  pm2 restart wondif_vue
  762  pm2 env 1
  763  git pull origin main
  764  git reset --hard HEAD
  765  git pull origin main
  766  pm2 list
  767  pm2 env 1
  768  pm2 env 2
  769  pm2 env 1
  770  www
  771  ll
  772  cd wondif_vue/
  773  ll
  774  more package.json
  775  ll
  776  more nuxt.config.js
  777  ll
  778  git pull origin main
  779  npm run build
  780  pm2 restart wondif_vue
  781  more nuxt.config.js
  782  more package.json
  783  more .env
  784  git pull origin main
  785  ll
  786  npm run build
  787  pm2 list
  788  pm2 delete wondif_vue
  789  pm2 start ecosystem.config.cjs
  790  pm2 save
  791  pm2 env wondif_vue
  792  pm2 env 1
  793  pm2 reload wondif_vue --update-env
  794  pm2 list
  795  pm2 env 1
  796  pm2 env 3
  797  more .env
  798  git pull origin main
  799  npm run build
  800  pm2 reload wondif_vue --update-env
  801  www
  802  ll
  803  cd wondif_vue/
  804  ll
  805  more .env
  806  ll
  807  rm .env
  808  ll
  809  npm run build
  810  pm2 reload wondif_vue --update-env
  811  history
  812  www
  813  ll
  814  cd strapi_wondif/
  815  ll
  816  NODE_ENV=production npm run build
  817  pm2 list
  818  pm2 restart strapi_wondif
  819  pm2 list
  820  history


