Skip to content
Snippets Groups Projects
Commit 99557332 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

defaults

parent a3d9c5a1
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ if [ ! "$SKIP_INSTALL" ]; then ...@@ -157,7 +157,7 @@ if [ ! "$SKIP_INSTALL" ]; then
python setup.py install &> /dev/null python setup.py install &> /dev/null
cd $WORKING_DIR 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/ cd $ROOT_DIR/vendor/pip-1.2.1/
python setup.py install &> /dev/null python setup.py install &> /dev/null
cd $WORKING_DIR cd $WORKING_DIR
...@@ -179,7 +179,7 @@ if (in-req "hg+" requirements.txt) then ...@@ -179,7 +179,7 @@ if (in-req "hg+" requirements.txt) then
fi fi
# Install dependencies with Pip. # 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 pip install --use-mirrors -r requirements.txt --exists-action=w --src=./.heroku/src | cleanup | indent
# Django collectstatic support. # Django collectstatic support.
......
...@@ -11,18 +11,13 @@ config_vars: ...@@ -11,18 +11,13 @@ config_vars:
EOF 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: addons:
# web: python $PROJECT/manage.py runserver 0.0.0.0:\$PORT --noreload shared-database:5mb
# EOF EOF
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment