summaryrefslogtreecommitdiff
path: root/Bastillefile
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-07-01 16:54:37 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-07-01 16:54:37 -0400
commit45bef0968ae13c5167fec8df37c03413330ea9c8 (patch)
tree3d65e9efd2eca5b0c4c20191d34312fa37c10d1b /Bastillefile
parent62300184ba125f39374d009add6beada5c4fa1cd (diff)
downloadcarpentertutoring-45bef0968ae13c5167fec8df37c03413330ea9c8.tar.xz
carpentertutoring-45bef0968ae13c5167fec8df37c03413330ea9c8.zip
updated for rewrite
Diffstat (limited to 'Bastillefile')
-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