Create more shell files for project management.
This commit is contained in:
parent
ed1f665dbd
commit
bef46b56b4
13
stop.sh
Normal file
13
stop.sh
Normal 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
13
test.sh
Normal 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!"
|
||||
|
Reference in New Issue
Block a user