Commit 99557332 authored by Kenneth Reitz's avatar Kenneth Reitz

defaults

parent a3d9c5a1
......@@ -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.
......
......@@ -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
# 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
if [[ $MANAGE_FILE ]]; then
cat <<EOF
# default_process_types:
# web: python $PROJECT/manage.py runserver 0.0.0.0:\$PORT --noreload
# EOF
addons:
shared-database:5mb
EOF
fi
\ No newline at end of file
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