diff --git a/.gitignore b/.gitignore index ad3ebee..23d26c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ *~ #* -secrets/ *.secret *.db *.ttf diff --git a/README.md b/README.md index 749084d..8200f5f 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # PHP scripts for a site-sharing website +Live demo: https://eternalwinter.xmpub.org/ Needs php imagemagick & sqlite modules. -Edit `config.php` to customize \ No newline at end of file +## Installation +Make sure the directory is writable by the web server. +Run `./password.sh ` 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=` to the end of the url