Create more shell files for project management.

This commit is contained in:
Hyperling 2023-03-07 05:52:48 -06:00
parent ed1f665dbd
commit bef46b56b4
2 changed files with 26 additions and 0 deletions

13
stop.sh Normal file
View File

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

13
test.sh Normal file
View File

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