This commit is contained in:
Kenneth Reitz
2013-01-02 21:42:16 -05:00
parent a3d9c5a1b2
commit 99557332a0
2 changed files with 10 additions and 15 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ if [ ! "$SKIP_INSTALL" ]; then
python setup.py install &> /dev/null
cd $WORKING_DIR
puts-step "Installing pip (1.2.1)"
puts-step "Installing Pip (1.2.1)"
cd $ROOT_DIR/vendor/pip-1.2.1/
python setup.py install &> /dev/null
cd $WORKING_DIR
@@ -179,7 +179,7 @@ if (in-req "hg+" requirements.txt) then
fi
# Install dependencies with Pip.
puts-step "Installing dependencies using pip (1.2.1)"
puts-step "Installing dependencies using Pip (1.2.1)"
pip install --use-mirrors -r requirements.txt --exists-action=w --src=./.heroku/src | cleanup | indent
# Django collectstatic support.
+8 -13
View File
@@ -11,18 +11,13 @@ config_vars:
EOF
MANAGE_FILE=$(cd $BUILD_DIR && find . -maxdepth 3 -type f -name 'manage.py' | head -1)
MANAGE_FILE=${MANAGE_FILE:2}
# [ "$NAME" = "Python/Django" ] || exit 0
if [[ $MANAGE_FILE ]]; then
cat <<EOF
# MANAGE_FILE=$(cd $BUILD_DIR && find . -maxdepth 3 -type f -name 'manage.py' | head -1)
# MANAGE_FILE=${MANAGE_FILE:2}
# PROJECT=$(dirname $MANAGE_FILE)
# cat <<EOF
# addons:
# shared-database:5mb
# default_process_types:
# web: python $PROJECT/manage.py runserver 0.0.0.0:\$PORT --noreload
# EOF
addons:
shared-database:5mb
EOF
fi