forked from luca/mineqtt
1
0
Fork 0

docs: add installation via OPPM

This commit is contained in:
Luca 2024-09-06 00:25:32 +02:00
parent efe6e9eed5
commit f18ee5fd22
1 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,18 @@
## Installation ## Installation
### via OPPM
```
oppm register lujoga/oppm
```
```
oppm install mqtt
```
### via interactive Lua shell
```lua ```lua
local net = require("internet"); local io = require("io"); local f = io.open("/lib/mqtt.lua", "w"); for line in net.request("https://git.luj0ga.de/luca/mineqtt/raw/branch/main/mqtt.lua") do f:write(line) end; f:flush():close() local net = require("internet"); local io = require("io"); local f = io.open("/lib/mqtt.lua", "w"); for line in net.request("https://git.luj0ga.de/luca/mineqtt/raw/branch/main/mqtt.lua") do f:write(line) end; f:flush():close()
``` ```