#!/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