initial commit

This commit is contained in:
Jeffrey Morgan
2023-06-22 12:45:31 -04:00
commit 8fa91332fa
29 changed files with 5669 additions and 0 deletions

18
dev.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Function to handle Ctrl+C
handle_sigint() {
kill $pid1 $pid2 $pid3
exit
}
# Trap Ctrl+C signal
trap 'handle_sigint' SIGINT
# Start three processes in the background
npm run dev --prefix ./client & pid1=$!
npm start --prefix ./desktop & pid2=$!
go run -C ./server . & pid3=$!
# Wait for all processes to finish
wait