From bef46b56b41a2583e236f20cddce82164c473d8e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 7 Mar 2023 05:52:48 -0600 Subject: [PATCH] Create more shell files for project management. --- stop.sh | 13 +++++++++++++ test.sh | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 stop.sh create mode 100644 test.sh diff --git a/stop.sh b/stop.sh new file mode 100644 index 0000000..28389b8 --- /dev/null +++ b/stop.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Date: 2023-03-07 +# Developer: Hyperling +# Purpose: Turn off the project since the subprocesses run as forks. + +## Stop all services. ## + +# Kill frontend. +# killall `pwd`/index.tsx >stop.log 2>&1 + +# Kill backend +killall `pwd`/server.js >stop.log 2>&1 + diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..bdc443c --- /dev/null +++ b/test.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Date: 2023-03-07 +# Developer: Hyperling +# Purpose: Create a test user and some test data. + +## Create User ## + +# curl POST test_user test_password etc etc + +## Create Entries ## + +# curl POST test_user 2023-03-07 "Mangoes and rice" FALSE "Yummy!" +