informatique:ide:codium
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:ide:codium [14/02/2025 07:47] – cyrille | informatique:ide:codium [12/03/2025 09:24] (Version actuelle) – [Laravel] cyrille | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
Voyons comment faire avec Codium | Voyons comment faire avec Codium | ||
- | VSCode | + | * [[https:// |
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | ==== Laravel ==== | ||
+ | |||
+ | [[/ | ||
+ | |||
+ | Avec '' | ||
+ | |||
+ | Ajouter openssh-server Dans le '' | ||
+ | < | ||
+ | RUN apt-get install -y openssh-server | ||
+ | |||
+ | RUN mkdir / | ||
+ | COPY authorized_keys / | ||
+ | RUN chmod -R go= / | ||
+ | RUN chown -R sail / | ||
+ | </ | ||
+ | |||
+ | À la fin du fichier '' | ||
+ | < | ||
+ | ... | ||
+ | else | ||
+ | service ssh start | ||
+ | exec / | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | Puis on rebuild l' | ||
+ | < | ||
+ | ./sail build | ||
+ | </ | ||
+ | |||
+ | Dans le docker-compose.yml on expose le port: | ||
+ | |||
+ | < | ||
+ | services: | ||
+ | laravel.test: | ||
+ | ports: | ||
+ | - ' | ||
+ | </ | ||
+ | |||
+ | et pour permettre de conserver les extensions installées, | ||
+ | |||
+ | < | ||
+ | services: | ||
+ | laravel.test: | ||
+ | volumes: | ||
+ | - ' | ||
+ | </ | ||
+ | |||
+ | Pour lancer '' | ||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | </ | ||
===== Extensions ===== | ===== Extensions ===== | ||
informatique/ide/codium.1739515666.txt.gz · Dernière modification : 14/02/2025 07:47 de cyrille