forked from tildeverse/tilde.chat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Reviewed-on: tildeverse/tilde.chat#38 |
3 years ago | |
---|---|---|
badges | 5 years ago | |
js | 4 years ago | |
stats | 3 years ago | |
wiki | 3 years ago | |
.drone.yml | 4 years ago | |
.editorconfig | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
apple-icon.png | 5 years ago | |
composer.json | 4 years ago | |
composer.lock | 4 years ago | |
favicon-96x96.png | 5 years ago | |
footer.php | 4 years ago | |
gen_stats | 3 years ago | |
header.php | 5 years ago | |
index.php | 3 years ago | |
navbar.php | 3 years ago | |
rules.txt | 3 years ago |
README.md
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;
}
}