diff --git a/kill_tick_in.sh b/kill_tick_in.sh new file mode 100644 index 0000000..ab228ed --- /dev/null +++ b/kill_tick_in.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Kill all the scripts: +echo "Killing the script." +pkill -9 -f "$(pwd)/background/finstitutions/trading/to_kafka.py" + +# All done: +echo "Done!" +exit 0 \ No newline at end of file diff --git a/run_tick_in.sh b/run_tick_in.sh new file mode 100644 index 0000000..4a31fe0 --- /dev/null +++ b/run_tick_in.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Use this to run the microservice without any docker setup. +source .venv/bin/activate +python3 "$(pwd)/background/finstitutions/trading/to_kafka.py" --script-id "kps_dev_gjgptnfnZ1" --token-key "6766805c466e61b446bf91d5" & +deactivate + +# All done: +echo "Done!" +exit 0 \ No newline at end of file