diff --git a/kill_sio.sh b/kill_sio.sh deleted file mode 100644 index fc73e28..0000000 --- a/kill_sio.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# Kill all the scripts: -echo "Killing the script." -pkill -9 -f "$(pwd)/playground/socketio/to_kafka.py" -pkill -9 -f "$(pwd)/wsio/finstitutions/trading/main.py" - -# All done: -echo "Done!" -exit 0 \ No newline at end of file diff --git a/kill_tick_out.sh b/kill_tick_out.sh new file mode 100644 index 0000000..5a80196 --- /dev/null +++ b/kill_tick_out.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Kill all the scripts: +echo "Killing the script." +pkill -9 -f "$(pwd)/wsio/finstitutions/trading/tick_out.py" + +# All done: +echo "Done!" +exit 0 \ No newline at end of file diff --git a/run_sio.sh b/run_sio.sh deleted file mode 100644 index 6e5291a..0000000 --- a/run_sio.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# Use this to run the microservice without any docker setup. -source .venv/bin/activate -pkill -9 -f "$(pwd)/playground/socketio/to_kafka.py" -python3 "$(pwd)/wsio/finstitutions/trading/main.py" --host "0.0.0.0" --port 5214 --script-id "kps_cnv_KBC3MoaU" & -deactivate - -# All done: -echo "Done!" -exit 0 \ No newline at end of file diff --git a/run_tick_out.sh b/run_tick_out.sh new file mode 100644 index 0000000..78379d7 --- /dev/null +++ b/run_tick_out.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Use this to run the microservice without any docker setup. +source .venv/bin/activate +python3 "$(pwd)/wsio/finstitutions/trading/tick_out.py" --workers 2 --host "0.0.0.0" --port 5214 --script-id "kps_prod_nFCaozwnVP" & +deactivate + +# All done: +echo "Done!" +exit 0 \ No newline at end of file