Add super basic setup script

This commit is contained in:
Oliver Akins 2022-07-20 22:14:56 -06:00
parent 5c47a967dd
commit 885bebee71
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

21
setup.sh Normal file
View file

@ -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