aboutsummaryrefslogtreecommitdiffstats
path: root/python/examples/start-console.sh
diff options
context:
space:
mode:
authorDevendra2014-04-29 03:11:45 +0530
committerDevendra2014-04-29 03:11:45 +0530
commitd703c34d918a75a4d5a984143c8fbd5049931b1a (patch)
tree4438352661eafe3384a397ad8c68ed008c20ab1f /python/examples/start-console.sh
parent769c3a908890a15c8f5e08cd651e1120194c2e74 (diff)
downloadpubnub-python-d703c34d918a75a4d5a984143c8fbd5049931b1a.tar.bz2
adding start console script and helper files
Diffstat (limited to 'python/examples/start-console.sh')
-rw-r--r--python/examples/start-console.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/examples/start-console.sh b/python/examples/start-console.sh
new file mode 100644
index 0000000..df4fd6e
--- /dev/null
+++ b/python/examples/start-console.sh
@@ -0,0 +1,8 @@
+if ! type "screen" > /dev/null; then
+ echo "[ERROR] Screen is not installed. Please install screen to use this utility ."
+ exit
+fi
+rm ./pubnub-console.log
+touch ./pubnub-console.log
+set PYTHONPATH=../..
+screen -c config