summaryrefslogtreecommitdiff
path: root/Bastillefile
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-01-29 17:05:13 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-01-29 17:05:13 -0500
commit7a903d26e61c3e20ca4b0a67ac856dac2a285f1e (patch)
tree3fb33f3a67795e88196fbab9baaf34612db27576 /Bastillefile
parentf8af6ebd5b237b34d1db123f32d714f78fa568ce (diff)
downloadtheglassyladies-7a903d26e61c3e20ca4b0a67ac856dac2a285f1e.tar.xz
theglassyladies-7a903d26e61c3e20ca4b0a67ac856dac2a285f1e.zip
added config for glassy ladies, updated Bastillefile
Diffstat (limited to 'Bastillefile')
-rw-r--r--Bastillefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Bastillefile b/Bastillefile
index e69de29..dc70c99 100644
--- a/Bastillefile
+++ b/Bastillefile
@@ -0,0 +1,25 @@
+# Dirs and mounts
+CMD mkdir -p /var/db/gl && echo Created /var/db/gl
+FSTAB /zroot/gl /var/db/gl nullfs rw 0 0
+
+# Prereqs
+PKG nginx yarn rust
+
+# Download sources
+CMD curl -kf http://192.168.1.50:3000/53hornet/theglassyladies/archive/master.tar.gz -o /tmp/master.tar.gz
+CMD tar -xzvf /tmp/master.tar.gz -C /tmp
+
+# Build backend
+CMD cd /tmp/dichroism
+CMD CARGO_HOME=/tmp cargo install --path .
+
+# Build frontend
+CMD cd /tmp/iridescence
+CMD yarn build
+CMD mv dist /var/www
+
+# Config
+OVERLAY usr
+SYSRC nginx_enable=YES
+SERVICE nginx start
+