A script I use for the guestbook on my website
Go to file
aboutDavid 37bf96811e fix formatting 2021-03-09 10:15:15 -05:00
LICENSE.md License under APGL 3.0 2021-03-08 21:50:02 -05:00
README.md fix formatting 2021-03-09 10:15:15 -05:00
guestbook Inital Commit 2021-03-08 21:19:58 -05:00

README.md

guestbook

A CLI based guestbook. Orignally made for https://tilde.club/~aboutdavid/guestbook.txt

Setup:

# Change your directory into yours.
cd ~

# Choose any filename for the guestbook. Make sure you chmod it so only you can modify it. 
touch ./public_html/guestbook.txt

# Launch your favorite editor to modify the script.
$EDITOR ./guestbook

# Modify the following in the guestbook script

# The path to the guestbook file you just created 
# PATH_TO_GUESTBOOK="/home/aboutdavid/public_html/guestbook.txt"

# The path to the guestbook SCRIPT not file.
# PATH_TO_SCRIPT="/home/aboutdavid/guestbook"

# HTTP(S) URL of the guestbook file
# URL="https://tilde.club/~aboutdavid/guestbook.txt"

# Set the timezone.
# TIMEZONE="EST"

# The following command will allow people to run the script and allow the script to access the directory.
chmod 701 ./guestbook
chmod u+s ./guestbook