summaryrefslogblamecommitdiff
path: root/Bastillefile
blob: 7c44cf0c00a6199c08e6ef7fa3582364c48654c9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                                   
           








                                                                                                      


                         
# Prerequisites
FSTAB /zroot/carpentertutoring /var/carpentertutoring nullfs ro 0 0
PKG lighttpd php74 php74-filter php74-openssl
OVERLAY usr

# Install site to web root
CMD mkdir -p /var/www && echo Created /var/www
CMD fetch -o /tmp/master.tar.gz http://git.53hor.net/53hornet/carpentertutoring/archive/master.tar.gz 
CMD fetch -o /tmp/phpmailer.zip https://github.com/PHPMailer/PHPMailer/archive/master.zip
CMD tar -xzvf /tmp/master.tar.gz -C /var/www
CMD tar -xzvf /tmp/phpmailer.zip -C /var/www

# Start server
SYSRC lighttpd_enable=YES
SERVICE lighttpd start