Parcourir la source

séparation du README principale et de la procédure d’installation

Guilhem Saurel il y a 7 ans
Parent
commit
fb0c6d31f5
2 fichiers modifiés avec 58 ajouts et 55 suppressions
  1. 3 55
      README.md
  2. 55 0
      install.md

+ 3 - 55
README.md

@@ -1,59 +1,7 @@
-# Ateliers Docker
+## Lisez-moi
 
 [Pad](https://mypads.framapad.org/mypads/?/mypads/group/altermediatic-toulouse-deatm79d/pad/view/docker-atelier-acqwh7km)
 
-## Install
+# Procédure d’installation
 
-```
-# Install docker
-# See https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
-apt install \
-     apt-transport-https \
-     ca-certificates \
-     curl \
-     gnupg2 \
-     software-properties-common
-
-curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -
-
-echo \
-   "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
-   $(lsb_release -cs) \
-   stable" \
-   > /etc/apt/sources.list.d/docker.list
-
-apt update && apt install docker-ce msmtp python3-pip
-
-# install docker-compose
-pip3 install docker-compose
-
-# Start docker
-systemctl start docker
-systemctl enable docker
-
-# Add keys
-cd
-git clone https://framagit.org/altermediatic/keys.git
-cd .ssh
-rm -f authorized_keys
-ln -s ../keys/ssh authorized_keys
-
-# Add this repo
-cd
-git clone https://framagit.org/altermediatic/docker-atelier.git
-cd docker-atelier
-
-# Configure environment variables in setup.sh then run it
-./setup.sh
-
-# Deploy Services (project name should only be set via the setup.sh file!)
-docker-compose up -d
-```
-
-## Configure mail
-
-[doc](mail)
-
-## Update homepage
-
-docker-compose build --no-cache
+(install instructions)[install.md]

+ 55 - 0
install.md

@@ -0,0 +1,55 @@
+## Install
+
+```
+# Install docker
+# See https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
+apt install \
+     apt-transport-https \
+     ca-certificates \
+     curl \
+     gnupg2 \
+     software-properties-common
+
+curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -
+
+echo \
+   "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
+   $(lsb_release -cs) \
+   stable" \
+   > /etc/apt/sources.list.d/docker.list
+
+apt update && apt install docker-ce msmtp python3-pip
+
+# install docker-compose
+pip3 install docker-compose
+
+# Start docker
+systemctl start docker
+systemctl enable docker
+
+# Add keys
+cd
+git clone https://framagit.org/altermediatic/keys.git
+cd .ssh
+rm -f authorized_keys
+ln -s ../keys/ssh authorized_keys
+
+# Add this repo
+cd
+git clone https://framagit.org/altermediatic/docker-atelier.git
+cd docker-atelier
+
+# Configure environment variables in setup.sh then run it
+./setup.sh
+
+# Deploy Services (project name should only be set via the setup.sh file!)
+docker-compose up -d
+```
+
+## Configure mail
+
+[doc](mail)
+
+## Update homepage
+
+docker-compose build --no-cache