Commit 119e8145 authored by Kenneth Reitz's avatar Kenneth Reitz

move .src up for collectstatic

parent 99dae0f6
...@@ -193,6 +193,10 @@ source $BIN_DIR/steps/gdal ...@@ -193,6 +193,10 @@ source $BIN_DIR/steps/gdal
# Install dependencies with Pip (where the magic happens). # Install dependencies with Pip (where the magic happens).
source $BIN_DIR/steps/pip-install source $BIN_DIR/steps/pip-install
# Support for pip install -e.
rm -fr $BUILD_DIR/.heroku/src
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
# Django collectstatic support. # Django collectstatic support.
sub-env $BIN_DIR/steps/collectstatic sub-env $BIN_DIR/steps/collectstatic
...@@ -209,10 +213,6 @@ set-default-env PYTHONPATH /app/ ...@@ -209,10 +213,6 @@ set-default-env PYTHONPATH /app/
# Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS. # Install sane-default script for $WEB_CONCURRENCY and $FORWARDED_ALLOW_IPS.
cp $ROOT_DIR/vendor/python.gunicorn.sh $GUNICORN_PROFILE_PATH cp $ROOT_DIR/vendor/python.gunicorn.sh $GUNICORN_PROFILE_PATH
# Support for pip install -e.
rm -fr $BUILD_DIR/.heroku/src
deep-cp /app/.heroku/src $BUILD_DIR/.heroku/src
# Experimental post_compile hook. # Experimental post_compile hook.
bpwatch start post_compile bpwatch start post_compile
source $BIN_DIR/steps/hooks/post_compile source $BIN_DIR/steps/hooks/post_compile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment