Skip to content

Commit 53a6cfa

Browse files
committed
Merge pull request #1 from ilmarga/master
Activate VirtualEnv in build hook
2 parents de09dd4 + f978945 commit 53a6cfa

File tree

1 file changed

+3
-0
lines changed
  • .openshift/action_hooks

1 file changed

+3
-0
lines changed

.openshift/action_hooks/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# in this script. This script gets executed directly, so it could be python,
44
# php, ruby, etc.
55

6+
# Activate VirtualEnv in order to use the correct libraries
7+
source $OPENSHIFT_APP_DIR/virtenv/bin/activate
8+
69
if [ ! -f $OPENSHIFT_DATA_DIR/sqlite3.db ]
710
then
811
echo "Copying $OPENSHIFT_REPO_DIR/wsgi/openshift/sqlite3.db to $OPENSHIFT_DATA_DIR"

0 commit comments

Comments
 (0)