Browse Source

Clean some issues on README template

Rafael Blumberg 2 năm trước cách đây
mục cha
commit
92d7d0fdc7
1 tập tin đã thay đổi với 14 bổ sung6 xóa
  1. 14 6
      build/templates/template_README.md

+ 14 - 6
build/templates/template_README.md

@@ -13,40 +13,47 @@ See the list of apps included in this template [here](AppList.md).
 
 
 ### Installation
 ### Installation
 Run `install-docker.sh`, to install docker, and add the current user to the docker usergroup.
 Run `install-docker.sh`, to install docker, and add the current user to the docker usergroup.
-```
+
+```sh
 wget -qO- https://git.io/JS96e | bash
 wget -qO- https://git.io/JS96e | bash
 # need to reboot/logout for changes to take effect
 # need to reboot/logout for changes to take effect
 ```
 ```
 
 
 ### Pi OS Buster  
 ### Pi OS Buster  
 On Oct 30, 2021 Pi OS bullseye was released and this is no longer needed.  Older Pi OS buster releases run an old version of libseccomp that is causing problems with many containers that are preventing them from running.  To fix this we need to manually install a newer version of libseccomp.  However we first need to check and see if you are running an older version.  To check please run sudo dpkg-query -W libseccomp.
 On Oct 30, 2021 Pi OS bullseye was released and this is no longer needed.  Older Pi OS buster releases run an old version of libseccomp that is causing problems with many containers that are preventing them from running.  To fix this we need to manually install a newer version of libseccomp.  However we first need to check and see if you are running an older version.  To check please run sudo dpkg-query -W libseccomp.
-```
+
+```sh
 sudo dpkg-query -W libseccomp2
 sudo dpkg-query -W libseccomp2
 ```
 ```
-If you are running a version less that 2.5 you will need to run the *upgrade script.
 
 
-```
+If you are running a version less that 2.5 you will need to run the *upgrade script*.
+
+```sh
 wget -qO- https://git.io/JPXdj | bash
 wget -qO- https://git.io/JPXdj | bash
 ```
 ```
+
 * The upgrade script is for Pi OS 32bit.  Pi OS 64 beta is untested and the upgrade script wont work with it.
 * The upgrade script is for Pi OS 32bit.  Pi OS 64 beta is untested and the upgrade script wont work with it.
 
 
 ### Reboot for changes to take effect
 ### Reboot for changes to take effect
 
 
-```
+```sh
 sudo reboot
 sudo reboot
 ```
 ```
 
 
 After a reboot, run `install-portainer.sh`, to install Portainer.io
 After a reboot, run `install-portainer.sh`, to install Portainer.io
-```
+
+```sh
 wget -qO- https://git.io/JS96L | bash
 wget -qO- https://git.io/JS96L | bash
 # to update portainer, run this command
 # to update portainer, run this command
 wget -qO- https://git.io/JS96Y | bash
 wget -qO- https://git.io/JS96Y | bash
 ```
 ```
+
 Click Settings, in the bottom-left corner, and paste the Portainer v2 json file link from below into the "App Templates" box.
 Click Settings, in the bottom-left corner, and paste the Portainer v2 json file link from below into the "App Templates" box.
 
 
 You're done! Now just click App Templates and deploy applications!
 You're done! Now just click App Templates and deploy applications!
 
 
 #### Versions
 #### Versions
+
 | Application  | Supported OS's | URL |
 | Application  | Supported OS's | URL |
 | ------------- | ------------- | ------------- |
 | ------------- | ------------- | ------------- |
 | Portainer v2 Arm32 | Pi OS | https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-arm32.json |
 | Portainer v2 Arm32 | Pi OS | https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-arm32.json |
@@ -78,4 +85,5 @@ Install, Update, Pre-Install and extra scripts can be found in our [GitHub Tools
 See the list of [contributors](https://github.com/pi-hosted/pi-hosted/graphs/contributors) who participated in this project.
 See the list of [contributors](https://github.com/pi-hosted/pi-hosted/graphs/contributors) who participated in this project.
 
 
 ### Acknowledgment
 ### Acknowledgment
+
 * template based on [SelfHosted](https://github.com/SelfhostedPro/selfhosted_templates) Portainer App Template branch on 2021/10/05
 * template based on [SelfHosted](https://github.com/SelfhostedPro/selfhosted_templates) Portainer App Template branch on 2021/10/05