forked from tildeverse/tilde.chat
site for the tildeverse irc network
i moved bsd.tilde.team to a vm on my dedi. there are already 4 other irc nodes in that same datacenter, so i won't be running an extra node there. |
||
---|---|---|
badges | ||
js | ||
stats | ||
wiki | ||
.editorconfig | ||
.gitignore | ||
apple-icon.png | ||
composer.json | ||
composer.lock | ||
favicon-96x96.png | ||
footer.php | ||
gen_stats | ||
header.php | ||
index.php | ||
navbar.php | ||
README.md | ||
rules.txt |
tilde.chat
this is the source for tilde.chat.
if you have any fixes/updates that you need to make, feel free to open a PR.
wiki updates are part of this repo as well.
stop by irc and say hi!
deployment
- clone the repo into your webroot
composer install
- make sure inspircd has m_httpd.so m_httpd_stats.so loaded
- add a local bind for stats on 8081:
<bind address="127.0.0.1" port="8081" type="httpd">
- add gen_stats to a crontab for a user that can write in the webroot:
* * * * * /var/www/tilde.chat/gen_stats
- nginx config for pretty urls
location ~* ^/wiki/(.+)$ {
try_files $uri $uri/ /wiki/index.php?page=$1;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
}