Skip to content

Commit

Permalink
Merge pull request #1 from ilmarga/master
Browse files Browse the repository at this point in the history
Activate VirtualEnv in build hook
  • Loading branch information
lmacken committed Sep 18, 2011
2 parents de09dd4 + f978945 commit 53a6cfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .openshift/action_hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# in this script. This script gets executed directly, so it could be python,
# php, ruby, etc.

# Activate VirtualEnv in order to use the correct libraries
source $OPENSHIFT_APP_DIR/virtenv/bin/activate

if [ ! -f $OPENSHIFT_DATA_DIR/sqlite3.db ]
then
echo "Copying $OPENSHIFT_REPO_DIR/wsgi/openshift/sqlite3.db to $OPENSHIFT_DATA_DIR"
Expand Down

0 comments on commit 53a6cfa

Please sign in to comment.