Skip to content
Permalink
Browse files

Fixed a bug in setup.bash

  • Loading branch information...
mtesauro committed Jun 25, 2019
1 parent c7b8717 commit 8a6a481cc61a422ec52cf3d8941c161570caadf9
Showing with 10 additions and 9 deletions.
  1. +10 −9 setup/scripts/os/linux.sh
@@ -337,15 +337,16 @@ function ubuntu_dojo_install() {
export VIRTUAL_ENV=$VIRTUAL_ENV
export PATH="$VIRTUAL_ENV/bin:$PATH"

cd $DOJO_SOURCE/setup
if [ "$DB_TYPE" = MySQL ]; then
$PIP install -r $SETUP_BASE/mysql.txt
elif [ "$DB_TYPE" = PostgreSQL]; then
$PIP install -r $SETUP_BASE/postgresql.txt
else
echo "ERROR: Unsupported DB type, exiting..."
exit 1
fi
cd $DOJO_SOURCE
$PIP install -r requirements.txt
#if [ "$DB_TYPE" = MySQL ]; then
# $PIP install -r $SETUP_BASE/mysql.txt
#elif [ "$DB_TYPE" = PostgreSQL]; then
# $PIP install -r $SETUP_BASE/postgresql.txt
#else
# echo "ERROR: Unsupported DB type, exiting..."
# exit 1
#fi

# Detect if we're in a a virtualenv
#$PY -c 'import sys; print sys.real_prefix' 2>/dev/null

0 comments on commit 8a6a481

Please sign in to comment.
You can’t perform that action at this time.