summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Bastillefile18
1 files changed, 12 insertions, 6 deletions
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