From 45bef0968ae13c5167fec8df37c03413330ea9c8 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Thu, 1 Jul 2021 16:54:37 -0400 Subject: updated for rewrite --- Bastillefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'Bastillefile') diff --git a/Bastillefile b/Bastillefile index 659d1e5..7c44cf0 100644 --- a/Bastillefile +++ b/Bastillefile @@ -1,10 +1,16 @@ -CMD mkdir -p /var/www && echo Created /var/www -PKG lighttpd rust gmake +# Prerequisites +FSTAB /zroot/carpentertutoring /var/carpentertutoring nullfs ro 0 0 +PKG lighttpd php74 php74-filter php74-openssl OVERLAY usr -CMD CARGO_HOME=/tmp cargo install --root /usr/local cobalt-bin -CMD fetch -o /tmp http://git.53hor.net/53hornet/carpentertutoring/archive/master.tar.gz -CMD tar -xzvf /tmp/master.tar.gz -C /tmp -CMD cd /tmp/carpentertutoring ; cobalt build --destination /var/www + +# 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 -- cgit v1.2.3