mirror of
https://gitlab.com/bonnebulle/plain-html-redo.git
synced 2025-12-06 10:08:45 +01:00
GIT Tuto_intro
This commit is contained in:
3
.idea/.gitignore
generated
vendored
Normal file
3
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_22" default="true" project-jdk-name="22" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/plain-html-redo.iml" filepath="$PROJECT_DIR$/.idea/plain-html-redo.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
9
.idea/plain-html-redo.iml
generated
Normal file
9
.idea/plain-html-redo.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
88
README.md
88
README.md
@@ -4,6 +4,94 @@ Redirige vers = https://plain-html-redo-751743.gitlab.io
|
|||||||
. . .
|
. . .
|
||||||
hébergement gratuit !
|
hébergement gratuit !
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Tuto :
|
||||||
|
|
||||||
|
Objectif :
|
||||||
|
Cloner un projet initial existant
|
||||||
|
( clone + url )
|
||||||
|
Comprendre le versionning + fork
|
||||||
|
( sauvegarder l'état d'un projet : commit + push )
|
||||||
|
Revenir dans le temps à un état de sauvegarde passé
|
||||||
|
( grace à son identifiant unique : hash )
|
||||||
|
Auto-héberger une page sur GitLab
|
||||||
|
( gratuit )
|
||||||
|
|
||||||
|
|
||||||
|
Éditer du code ...
|
||||||
|
Le partager et envoyer les dernières modifications :
|
||||||
|
GITLAB permet de travailler sans rien installer !
|
||||||
|
Il embarque un IDE (éditeur de code accessible en ligne )
|
||||||
|
On va travailler à partir de cet interface web
|
||||||
|
|
||||||
|
.... mais on peut aussi...
|
||||||
|
INSTALLER EN LOCAL :
|
||||||
|
|
||||||
|
+ VSCODE / CODIUM :
|
||||||
|
? https://alternativeto.net/software/codium/
|
||||||
|
! https://github.com/Alex313031/codium/releases
|
||||||
|
( WINDOWS : win32/64 .exe /ou/ MAC : x64/arm64 .dmg )
|
||||||
|
! https://code.visualstudio.com/download
|
||||||
|
|
||||||
|
passer en Francais :
|
||||||
|
https://www.it-connect.fr/tuto-changer-langue-visual-studio-code-francais-anglais/
|
||||||
|
|
||||||
|
? Alt : JETBRAINS IDE
|
||||||
|
https://www.jetbrains.com/webstorm/
|
||||||
|
|
||||||
|
|
||||||
|
MAIS AUSSI :
|
||||||
|
|
||||||
|
+ Terminal :
|
||||||
|
( utiliser la ligne de commande )
|
||||||
|
https://openclassrooms.com/fr/courses/6173491-apprenez-a-utiliser-la-ligne-de-commande-dans-un-terminal/6349461-decouvrez-le-terminal#r-6349452
|
||||||
|
|
||||||
|
! Tuto (Anglais)
|
||||||
|
https://coolguy.website/map-is-the-territory/introduction.html
|
||||||
|
|
||||||
|
|
||||||
|
+ Git :
|
||||||
|
https://git-scm.com/downloads
|
||||||
|
|
||||||
|
Vérifier via Terminal
|
||||||
|
> git -v
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
CREER UN COMPTE GITlab
|
||||||
|
https://gitlab.com/users/sign_up
|
||||||
|
|
||||||
|
. . .
|
||||||
|
|
||||||
|
FORK PROJET
|
||||||
|
PAGE D'exemple :
|
||||||
|
https://gitlab.com/pages/plain-html
|
||||||
|
|
||||||
|
On clic "Fork"
|
||||||
|
On présice la desintaion + nom du projet
|
||||||
|
EX/ https://gitlab.com/bonnebulle/plain-html-redo
|
||||||
|
|
||||||
|
. . .
|
||||||
|
|
||||||
|
PAGE ( projet accessible en ligne ) :
|
||||||
|
Dans le projet actuel on veut le transformer en page hébergée par Gitlab
|
||||||
|
-> GAUCHE -> Build > Pipeline
|
||||||
|
-> New Pipeline (boutton bleu)
|
||||||
|
-> Run Pipeline (boutton bleu)
|
||||||
|
|
||||||
|
PAGE URL ==
|
||||||
|
- https://USERNAME.gitlab.io/PROJECT_NAME
|
||||||
|
|
||||||
|
. . .
|
||||||
|
|
||||||
|
RETOUR AU PROJET
|
||||||
|
code (boutton bleu)
|
||||||
|
Ouvrir avec....
|
||||||
|
---> Va ouvrir un IDE depuis lequel on pourra sauvegarder l'état d'avancement du projet (synchroniser avec le repertoire/projet GIT créé...)
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Example plain HTML site using GitLab Pages.
|
Example plain HTML site using GitLab Pages.
|
||||||
|
|||||||
Reference in New Issue
Block a user