Browse Source

Add README with a quick deploy guide

master
pitchum 3 months ago
committed by root
parent
commit
3963b1d35e
  1. 33
      README.md
  2. BIN
      screenshot_invitation_page.png

33
README.md

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Loading…
Cancel
Save