Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
38 lines (30 loc) · 831 Bytes

File metadata and controls

executable file
·
38 lines (30 loc) · 831 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
#!/bin/bash -e
BASEDIR=.
if [ ! -d "$BASEDIR/ve" ]; then
virtualenv -q $BASEDIR/ve --no-site-packages
$BASEDIR/ve/bin/activate
echo "Virtualenv created."
fi
chmod 755 $BASEDIR/ve/bin/activate
$BASEDIR/ve/bin/activate
if [ ! -f "$BASEDIR/ve/updated" -o $BASEDIR/requirements.pip -nt $BASEDIR/ve/updated ]; then
pip install -r $BASEDIR/requirements.pip -E $BASEDIR/ve
touch $BASEDIR/ve/updated
echo "Requirements installed."
fi
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
export PYTHONPATH=../..
screen -X -S pubnub-console quit 2>&1 > /dev/null
OS="`uname`"
case $OS in
[dD]'arwin')
screen -c config_osx
;;
*) screen -c config ;;
esac
Morty Proxy This is a proxified and sanitized view of the page, visit original site.