Kijan pou m pibliye premye sit entènèt mwen gratis?

posée 2 months ago680 vuesht

7

Mwen fè yon sit HTML/CSS pou pòtfolyo mwen. Li mache sou òdinatè m. Kijan pou m mete l sou entènèt pou lòt moun wè l, san peye?

Diagnostic IA

Généré par IA. Ce n'est pas une réponse — la communauté ci-dessous le confirme ou le corrige. Vérifiez toujours avant de vous y fier.

posée 2 months ago

1 réponse

5
✓
✓ Réponse acceptée

Pou yon sit estatik (HTML, CSS, JS), gen plizyè opsyon gratis:

GitHub Pages (bon pou kòmanse, e ou aprann git an menm tan): 1. Kreye yon kont GitHub, epi yon depo (repository) non-ou.github.io. 2. Voye fichye yo:

git init
git add .
git commit -m "Premye vèsyon"
git branch -M main
git remote add origin https://github.com/non-ou/non-ou.github.io.git
git push -u origin main

3. Nan Settings → Pages, chwazi branch main. Sit ou a ap disponib sou https://non-ou.github.io.

Netlify oswa Cloudflare Pages: ou ka menm jis trennen dosye a sou sit yo, oswa konekte depo GitHub ou a pou chak push mete sit la ajou otomatikman.

Asire w fichye prensipal la rele index.html. Pita, ou ka achte yon domèn (anviwon $10–15 pa ane) epi konekte l.

Connectez-vous pour dire si ça a marché.

answered 2 months ago

Sign in and verify your email to post an answer.