provision: Print out the command needed to activate venv.
This commit is contained in:
parent
a744fd9316
commit
5e4c65f325
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BASEDIR=`dirname $0`/..
|
BASEDIR=$(dirname `dirname $0`)
|
||||||
|
|
||||||
if [ ! -d "$BASEDIR/zulip-api-py2-venv" ]; then
|
if [ ! -d "$BASEDIR/zulip-api-py2-venv" ]; then
|
||||||
virtualenv $BASEDIR/zulip-api-py2-venv
|
virtualenv $BASEDIR/zulip-api-py2-venv
|
||||||
|
@ -30,3 +30,4 @@ if [ "$RVAL" -ne 0 ]; then
|
||||||
cp requirements.txt "$BASEDIR/zulip-api-py2-venv/installed-requirements.txt"
|
cp requirements.txt "$BASEDIR/zulip-api-py2-venv/installed-requirements.txt"
|
||||||
echo "Requirements installed."
|
echo "Requirements installed."
|
||||||
fi
|
fi
|
||||||
|
echo 'Success! Run `source' "$BASEDIR/zulip-api-py2-venv/bin/activate"'`' "to activate virtualenv."
|
||||||
|
|
Loading…
Reference in a new issue