Переглянути джерело

Updated markup of README.md

Michael Honkoop 8 місяців тому
батько
коміт
73c88c767c
1 змінених файлів з 10 додано та 24 видалено
  1. 10 24
      gogs/README.md

+ 10 - 24
gogs/README.md

@@ -16,34 +16,29 @@ Out of scope:
 
 </details>
 </br>
-###### 
-Install required packages:
+###### Install required packages:
 ```
 dnf install wget tar git mariadb-server
 ```
 
-###### 
-Download and install gogs, creating /opt/gogs (at the time of writing latest version was 0.13)
+###### Download and install gogs, creating /opt/gogs (at the time of writing latest version was 0.13)
 ```
 cd /opt
 wget https://dl.gogs.io/0.13.0/gogs_0.13.0_linux_amd64.tar.gz
 tar -zxvf gogs_0.13.0_linux_amd64.tar.gz
 ```
 
-###### 
-Create git user and group, and assign the homedir to /opt/gogs
+###### Create git user and group, and assign the homedir to /opt/gogs
 ```
 useradd -r -m -U -d /opt/gogs -s /bin/bash git
 ```
 
-###### 
-Reset rights to /opt/gogs
+###### Reset rights to /opt/gogs
 ```
 chmod 700 /opt/gogs/
 ```
 
-###### 
-Start Database-server and run secure installation to switch to unix_socket authentication
+###### Start Database-server and run secure installation to switch to unix_socket authentication
 ```
 systemctl start mariadb
 mysql_secure_installation
@@ -121,14 +116,12 @@ Thanks for using MariaDB!
 
 ```
 
-###### 
-Create database for GOGS
+###### Create database for GOGS
 ```
 mysql -u root < /opt/gogs/scripts/mysql.sql
 ```
 
-###### 
-Create database user and grant rights to the database for GOGS
+###### Create database user and grant rights to the database for GOGS
 ```
 mysql -u root
 
@@ -138,27 +131,20 @@ MariaDB [(none)]> FLUSH PRIVILEGES;
 MariaDB [(none)]> \q
 ```
 
-###### 
-Install and activate Systemd Unitfile
+###### Install and activate Systemd Unitfile
 ```
 wget -P /etc/systemd/system/ https://git.comsolve.nl/Comsolve/ProxMox-GuestSetups/raw/master/gogs/gogs.service
 systemctl daemon-reload
 ```
 
-###### 
-Enable services to start at system-start
+###### Enable services to start at system-start
 ```
 systemctl enable mariadb gogs
 ```
 
-###### 
-Start GOGS service
+###### Start GOGS service
 ```
 systemctl start gogs
 ```
 
 **Success ! you now have a running GOGS server on the server on port 3000 , please use a browser to finish the install on the ServerIP (or DNS-name) on port 3000**
-
-
-
-