Add README with a quick deploy guide
This commit is contained in:
parent
2747e3f502
commit
3963b1d35e
33
README.md
Normal file
33
README.md
Normal file
@ -0,0 +1,33 @@
|
||||
# XMPP invitation page
|
||||
|
||||
Build a Web page to help people joining US on XMPP.
|
||||
|
||||
![Example of XMPP invitation page](screenshot_invitation_page.png)
|
||||
|
||||
|
||||
## Quick deploy guide
|
||||
|
||||
Install `fcgiwrap`.
|
||||
|
||||
```
|
||||
mkdir -p /var/www/xmpp-invitation
|
||||
cd /var/www/xmpp-invitation
|
||||
git clone https://forge.chapril.org/pitchum/xmpp-invitation-page.git .
|
||||
```
|
||||
|
||||
Nginx snippet:
|
||||
|
||||
```
|
||||
location /invitation-beta/assets/ {
|
||||
alias /var/www/xmpp-invitation/assets/;
|
||||
}
|
||||
location /invitation-beta/ {
|
||||
root /var/www/xmpp-invitation/;
|
||||
index invitation.cgi;
|
||||
|
||||
fastcgi_pass unix:/run/fcgiwrap.socket;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/xmpp-invitation/invitation.cgi;
|
||||
}
|
||||
```
|
||||
|
BIN
screenshot_invitation_page.png
Normal file
BIN
screenshot_invitation_page.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 113 KiB |
Loading…
Reference in New Issue
Block a user