summaryrefslogtreecommitdiff
path: root/Bastillefile
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-01-29 14:37:38 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-01-29 14:37:38 -0500
commit69614b2d1024196f24611572ff9acf66720d472d (patch)
tree300bae9f67b9c8a4825489427493d8e6e55245f6 /Bastillefile
downloadcarpentertutoring-69614b2d1024196f24611572ff9acf66720d472d.tar.xz
carpentertutoring-69614b2d1024196f24611572ff9acf66720d472d.zip
init
Diffstat (limited to 'Bastillefile')
-rw-r--r--Bastillefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Bastillefile b/Bastillefile
new file mode 100644
index 0000000..832ca3d
--- /dev/null
+++ b/Bastillefile
@@ -0,0 +1,10 @@
+CMD mkdir -p /var/www && echo Created /var/www
+PKG lighttpd rust curl gmake
+OVERLAY usr
+CMD CARGO_HOME=/tmp cargo install --root /usr/local cobalt-bin
+CMD curl -kf http://192.168.1.50:3000/53hornet/carpentertutoring/archive/master.tar.gz -o /tmp/master.tar.gz
+CMD tar -xzvf /tmp/master.tar.gz -C /tmp
+CMD cd /tmp/carpentertutoring ; cobalt build --destination /var/www
+SYSRC lighttpd_enable=YES
+SERVICE lighttpd start
+