From 885bebee71bc8ee435f73f5834833aea976423d5 Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Wed, 20 Jul 2022 22:14:56 -0600 Subject: [PATCH] Add super basic setup script --- setup.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..22b1e2d --- /dev/null +++ b/setup.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Build the common module that both subsystems depend on +cd common +make + + +# Setup the server side of the system +cd ../server +pnpm install +pnpm build +#pnpm link file:../common/cjs +# add command to copy the systemd service file to the right location + + +# Setup the website for the system +cd ../web-svelte +pnpm install +#pnpm link file:../common/cjs +pnpm build +# add command to help setup nginx to serve the built files \ No newline at end of file