Installeur : support Windows (PowerShell) + durcissement Linux#24
Merged
Conversation
L'installeur couvre désormais les trois plateformes :
- Windows : nouveau scripts/install.ps1 — installe Docker Desktop (DL officiel
silencieux + WSL2, redémarrage guidé si besoin), démarre, génère les secrets
(.env UTF-8 sans BOM), lance la stack, ouvre /setup. Dépose un update.ps1.
irm .../install.ps1 | iex
- Linux : install.sh bascule sur « sudo docker » quand le groupe docker n'est
pas encore actif dans la session (cas juste après install), gère systemctl
OU service pour démarrer le daemon, et avertit pour usermod -aG docker.
- install.sh : si lancé sous un shell Windows (MINGW/MSYS/Cygwin), redirige
vers la commande PowerShell au lieu d'échouer.
- update.sh : même fallback sudo.
- README + doc : les 3 commandes (macOS/Linux/Windows), note WSL2/redémarrage.
Note : les scripts sont servis depuis main (URL raw), pas dans l'image —
le merge suffit, pas de nouvelle image. Chemin macOS vérifié de bout en
bout ; syntaxe PowerShell + logique secrets/.env validées sur pwsh ; chemins
Docker-absent (Win/Linux) logiques mais non exécutés sur ces OS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Couvre les trois plateformes.
scripts/install.ps1(irm … | iex) — installe Docker Desktop (DL officiel silencieux + WSL2, redémarrage guidé si machine fraîche), démarre, génère secrets, lance la stack, déposeupdate.ps1.install.shbascule sursudo dockertant que le groupedockern'est pas actif, gèresystemctl/service, avertit pourusermod -aG docker.install.shlancé sous un shell Windows → redirige vers la commande PowerShell.Scripts servis depuis
main(URL raw) → pas de nouvelle image nécessaire. Chemin macOS vérifié de bout en bout ; syntaxe PowerShell + logique secrets validées sur pwsh.