add installation guide

This commit is contained in:
Your Name 2025-10-13 14:03:41 -04:00
parent a54152fcc0
commit 591c1e7317
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
*~ *~
#* #*
secrets/
*.secret *.secret
*.db *.db
*.ttf *.ttf

View file

@ -1,3 +1,9 @@
# PHP scripts for a site-sharing website # PHP scripts for a site-sharing website
Live demo: https://eternalwinter.xmpub.org/
Needs php imagemagick & sqlite modules. Needs php imagemagick & sqlite modules.
Edit `config.php` to customize ## Installation
Make sure the directory is writable by the web server.
Run `./password.sh <password>` to generate the moderation password's hash.
Put a ttf font in the directory and name it `captchafont.ttf`
Edit `config.php` to customize.
To moderate, visit a url and add `?manage=<your password>` to the end of the url