From cdbc233d0bcf769bd42978c371b9e2b56bafae56 Mon Sep 17 00:00:00 2001 From: sandeepsajan0 Date: Sun, 29 Jul 2018 14:32:10 +0530 Subject: [PATCH] add shell script --- init.sh | 2 +- localhost1.sh | 6 ++++++ localhost2.sh | 8 ++++++++ run_client.sh | 7 +++++++ 4 files changed, 22 insertions(+), 1 deletion(-) mode change 100644 => 100755 init.sh create mode 100755 localhost1.sh create mode 100755 localhost2.sh create mode 100755 run_client.sh diff --git a/init.sh b/init.sh old mode 100644 new mode 100755 index c5785a7..8b460d4 --- a/init.sh +++ b/init.sh @@ -1 +1 @@ -python -m astrodemo.main +python -m main diff --git a/localhost1.sh b/localhost1.sh new file mode 100755 index 0000000..f3817b8 --- /dev/null +++ b/localhost1.sh @@ -0,0 +1,6 @@ +cd $VIRTUAL_ENV + +cd src +ls +cd hydra_agent +./redis_setup.sh diff --git a/localhost2.sh b/localhost2.sh new file mode 100755 index 0000000..4e257ee --- /dev/null +++ b/localhost2.sh @@ -0,0 +1,8 @@ +cd $VIRTUAL_ENV + +cd src +ls +cd hydra_agent +python3 setup.py install +cd hydra_redis +python3 querying_mechanism.py diff --git a/run_client.sh b/run_client.sh new file mode 100755 index 0000000..c579bfa --- /dev/null +++ b/run_client.sh @@ -0,0 +1,7 @@ + +cd $VIRTUAL_ENV + +cd src +ls +cd hydra_agent +sudo docker-compose run client