Le parcours developpeur parlait la langue de Set-OPS des D1. D0, « De zero a en ligne », fait le parcours entier sur deux depots minimaux, sans jargon, et situe Set-OPS face a Heroku, Docker, Vercel et un VPS. Son application FastAPI a ete lancee telle que montree, avec les paquets de Debian 13. Le glossaire traduit 47 mots du parcours, avec leur equivalent courant. Publie par le site web de l'Alliance v1.5.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
4.2 KiB
HTML
26 lines
4.2 KiB
HTML
<section id="pratique" data-transition="fade" style="background:#F3F5FA;color:#0E1530;font-family:'IBM Plex Sans', Arial, sans-serif;padding:128px 128px 160px;display:flex;flex-direction:column;gap:40px">
|
||
<div style="display:flex;flex-direction:column;gap:16px">
|
||
<p style="font-size:24px;letter-spacing:3px;text-transform:uppercase;color:#0A6B78;font-weight:600">Pratique · sur votre poste</p>
|
||
<h2 style="font-family:'Source Serif 4', Georgia, serif;font-size:72px;font-weight:400;line-height:1.1;color:#0E1530">Refaire les deux dépôts.</h2>
|
||
</div>
|
||
<div style="display:flex;gap:48px;align-items:stretch">
|
||
<div style="width:820px;display:flex;flex-direction:column;gap:12px">
|
||
<p style="font-size:24px;color:#5A6785">écrivez index.html et 404.html ; recopiez</p>
|
||
<p style="font-size:24px;color:#5A6785">les contrats (diapositives 4 et 9) et main.py (8)</p>
|
||
<p style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:22px;color:#0E1530;background:#E3E8F2;padding:12px 18px;border-radius:10px">python3 Set-OPS-public/scripts/app_contrat.py verifier mon-site</p>
|
||
<p style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:22px;color:#0E1530;background:#E3E8F2;padding:12px 18px;border-radius:10px">python3 Set-OPS-public/scripts/app_contrat.py verifier mon-app</p>
|
||
<p style="font-size:24px;color:#5A6785">une Debian 13 d’essai :</p>
|
||
<p style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:22px;color:#0E1530;background:#E3E8F2;padding:12px 18px;border-radius:10px">sudo apt install python3-fastapi python3-uvicorn</p>
|
||
<p style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:22px;color:#0E1530;background:#E3E8F2;padding:12px 18px;border-radius:10px">env -i PATH=/usr/bin:/bin CLE_API=essai python3 -m uvicorn …</p>
|
||
</div>
|
||
<div style="flex:1;display:flex;flex-direction:column;gap:20px">
|
||
<div style="display:flex;gap:16px"><p style="font-family:'Source Serif 4', Georgia, serif;font-size:36px;color:#0A6B78;width:40px">1</p><p style="font-size:28px;line-height:1.4;color:#3A4560;flex:1">Les deux contrats sont-ils valides du premier coup ?</p></div>
|
||
<div style="display:flex;gap:16px"><p style="font-family:'Source Serif 4', Georgia, serif;font-size:36px;color:#0A6B78;width:40px">2</p><p style="font-size:28px;line-height:1.4;color:#3A4560;flex:1">La console du navigateur est-elle vide sur <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">index.html</span> et sur <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">404.html</span> ?</p></div>
|
||
<div style="display:flex;gap:16px"><p style="font-family:'Source Serif 4', Georgia, serif;font-size:36px;color:#0A6B78;width:40px">3</p><p style="font-size:28px;line-height:1.4;color:#3A4560;flex:1">Que devient <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">donnees/visites.txt</span> après trois visites ?</p></div>
|
||
<div style="display:flex;gap:16px"><p style="font-family:'Source Serif 4', Georgia, serif;font-size:36px;color:#0A6B78;width:40px">4</p><p style="font-size:28px;line-height:1.4;color:#3A4560;flex:1">Que se passe-t-il sans <span style="font-family:'JetBrains Mono', 'Courier New', monospace;font-size:0.88em;color:#4FE3C1">CLE_API</span> ? Pourquoi est-ce le bon comportement ?</p></div>
|
||
</div>
|
||
</div>
|
||
<p style="position:absolute;left:128px;bottom:64px;width:1400px;font-size:24px;color:#5A6785">Set-OPS · Formation · Module D0 — De zéro à en ligne</p>
|
||
<p style="position:absolute;right:128px;bottom:64px;width:120px;text-align:right;font-size:24px;color:#5A6785">12</p>
|
||
<aside>Pratique : refaites les deux dépôts. Écrivez une page d’accueil et une page 404, recopiez les deux contrats et le code de la diapositive 8, et passez le validateur sur chacun. Servez le site web avec le serveur de test et ouvrez la console, sur la page d’accueil et sur une adresse inconnue. Puis, sur une Debian 13 d’essai, une machine virtuelle suffit, installez les deux paquets et lancez l’application comme le serveur la lancerait. Visitez-la trois fois, regardez le fichier d’état, puis relancez-la sans le secret. Si tout se passe comme prévu, vous avez fait, sur votre poste, tout ce que l’hébergement fera.</aside>
|
||
</section>
|