Skip to content

Commit 129f2db

Browse files
authored
Improve formatting of snap installation instructions
Formatted installation commands for better readability.
1 parent d53b87c commit 129f2db

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

README.snap.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,26 @@ A self-hosted web application for monitoring and controlling a building over the
44

55
On Ubuntu Server/Ubuntu Desktop:
66

7-
`$ sudo snap install --edge webthings-gateway`
8-
`$ sudo snap connect webthings-gateway:system-observe`
9-
`$ sudo snap connect webthings-gateway:hardware-observe`
10-
`$ sudo snap connect webthings-gateway:network-manager`
11-
`$ sudo snap set system experimental.hotplug=true`
12-
`$ sudo snap restart webthings-gateway`
7+
```
8+
$ sudo snap install --edge webthings-gateway
9+
$ sudo snap connect webthings-gateway:system-observe
10+
$ sudo snap connect webthings-gateway:hardware-observe
11+
$ sudo snap connect webthings-gateway:network-manager
12+
$ sudo snap set system experimental.hotplug=true
13+
$ sudo snap restart webthings-gateway
14+
```
1315

1416
On Ubuntu Core:
1517

16-
`$ snap install --edge webthings-gateway`
17-
`$ snap install network-manager`
18-
`$ snap connect webthings-gateway:system-observe`
19-
`$ snap connect webthings-gateway:hardware-observe`
20-
`$ snap connect webthings-gateway:network-manager network-manager:service`
21-
`$ sudo snap set system experimental.hotplug=true`
22-
`$ snap restart webthings-gateway`
18+
```
19+
$ snap install --edge webthings-gateway
20+
$ snap install network-manager
21+
$ snap connect webthings-gateway:system-observe
22+
$ snap connect webthings-gateway:hardware-observe
23+
$ snap connect webthings-gateway:network-manager network-manager:service
24+
$ sudo snap set system experimental.hotplug=true
25+
$ snap restart webthings-gateway
26+
```
2327

2428
Currently untested on other host operating systems.
2529

@@ -33,4 +37,4 @@ To connect a USB dongle:
3337

3438
(where "foo" is the name of the slot)
3539

36-
Note: This snap package is currently experimental and may not yet be fully functional. For manual installation instructions of a stable version please see https://webthings.io/docs/gateway/installation/
40+
Note: This snap package is currently experimental and may not yet be fully functional. For manual installation instructions of a stable version please see https://webthings.io/docs/gateway/installation/

0 commit comments

Comments
 (0)