Skip to content

Commit 7e53fbc

Browse files
committed
README: Add Installation section
Show how to install this package before using it. Also add a note that OPM is dead and we cannot upload new versions there. Closes #349
1 parent 03995ff commit 7e53fbc

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ These methods may be removed in future versions.
5252
* [proxy\_request](#proxy_request)
5353
* [proxy\_response](#proxy_response)
5454

55+
## Installation
56+
57+
This module is located at:
58+
https://luarocks.org/modules/pintsized/lua-resty-http
59+
60+
Install it with:
61+
```
62+
$ luarocks install lua-resty-http <version>
63+
```
64+
65+
Appending the version to the luarocks installation command can avoid migration conflicts.
66+
67+
**Note**: OpenResty Package Manager (OPM) is dead. No new versions can be uploaded there.
68+
5569
## Usage
5670

5771
There are two basic modes of operation:

0 commit comments

Comments
 (0)