Software /
code /
prosody-modules
Annotate
mod_candy/README.markdown @ 1918:c6db9d3dcff7
mod_candy/README: Compact links
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 22 Oct 2015 15:54:13 +0200 |
parent | 1917:b3c124850d10 |
child | 1919:f61798ecaf77 |
rev | line source |
---|---|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
1 --- |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
2 labels: |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
3 summary: Serve Candy from prosody |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
4 ... |
1782 | 5 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
6 Introduction |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
7 ============ |
1782 | 8 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
9 This is a very simple demo module showing how to serve a BOSH-using web |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
10 app from prosody. |
1782 | 11 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
12 Installation |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
13 ============ |
1782 | 14 |
1918
c6db9d3dcff7
mod_candy/README: Compact links
Kim Alvefur <zash@zash.se>
parents:
1917
diff
changeset
|
15 [Install][doc:installing\_modules] and [enable][doc:modules\_enabled] |
c6db9d3dcff7
mod_candy/README: Compact links
Kim Alvefur <zash@zash.se>
parents:
1917
diff
changeset
|
16 the module just like any other. Note the included HTML file in the |
c6db9d3dcff7
mod_candy/README: Compact links
Kim Alvefur <zash@zash.se>
parents:
1917
diff
changeset
|
17 www\_files directory, this directory needs to be in the same place as |
c6db9d3dcff7
mod_candy/README: Compact links
Kim Alvefur <zash@zash.se>
parents:
1917
diff
changeset
|
18 the module. |
1782 | 19 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
20 You then need to download Candy and unpack it into the www\_files |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
21 directory, for example with curl: |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
22 |
1864
991a5f74f848
mod_candy: Update to work with a stable release instead of git (which no longer works)
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
23 cd www_files |
991a5f74f848
mod_candy: Update to work with a stable release instead of git (which no longer works)
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
24 curl -OL https://github.com/candy-chat/candy/releases/download/v2.0.0/candy-2.0.0.zip |
1917
b3c124850d10
mod_candy/README: Correct command for unzipping Candy release
Kim Alvefur <zash@zash.se>
parents:
1864
diff
changeset
|
25 unzip candy-2.0.0.zip |
1782 | 26 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
27 After the module has been loaded, Candy will by default be reachable |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
28 from `http://example.com:5280/candy/` |
1782 | 29 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
30 Compatibility |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
31 ============= |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
32 |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
33 ------- ------- |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
34 trunk Works |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
35 0.9 Works |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
36 ------- ------- |