Software / code / prosody-modules
Annotate
mod_jsxc/README.markdown @ 5165:f37d6adce06e
mod_jsxc: Add plugin installer metadata
Needed since this module has extra resources and dependencies
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 16 Feb 2023 17:06:23 +0100 |
| parent | 5164:e6d623bd548e |
| child | 5166:442a6ced3333 |
| rev | line source |
|---|---|
| 5164 | 1 --- |
|
5165
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5164
diff
changeset
|
2 rockspec: |
|
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5164
diff
changeset
|
3 build: |
|
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5164
diff
changeset
|
4 copy_directories: |
|
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5164
diff
changeset
|
5 - templates |
|
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5164
diff
changeset
|
6 dependencies: |
|
f37d6adce06e
mod_jsxc: Add plugin installer metadata
Kim Alvefur <zash@zash.se>
parents:
5164
diff
changeset
|
7 - mod_http_libjs |
| 5164 | 8 summary: JSXC demo |
| 9 --- | |
| 10 | |
| 11 Try out JSXC easily by serving it from Prosodys built-in HTTP server. | |
| 12 | |
| 13 # Configuration | |
| 14 | |
| 15 mod_jsxc can be set up to either use resources from a separate HTTP | |
| 16 server or serve resources from Prosody's built-in HTTP server. | |
| 17 | |
| 18 ## Using CDN | |
| 19 | |
| 20 `jsxc_cdn` | |
| 21 : String. Base URL where JSXC resources are served from. Defaults to | |
| 22 empty string. | |
| 23 | |
| 24 `jsxc_version` | |
| 25 : String. Concatenated with the CDN URL. Defaults to empty string. | |
| 26 | |
| 27 ## Local resources | |
| 28 | |
| 29 Download a JSXC release archive and unpack it somewhere on your server. | |
| 30 | |
| 31 `jsxc_resources` | |
| 32 : String. Path to JSXC resources on the local file system. The target | |
| 33 directory should contain a `dist` directory. Disabled by default. | |
| 34 | |
| 35 ## Other options | |
| 36 | |
| 37 `jquery_url` | |
| 38 : String. URL or relative path to jQuery. Defaults to | |
| 39 `"/share/jquery/jquery.min.js"` which will work with | |
| 40 [mod_http_libjs]. |