Commit 907b6662 authored by Kenneth Reitz's avatar Kenneth Reitz

show django docs

parent 193352c6
docs: docs:
mkdir -p site mkdir -p site
shocco -t 'Python Buildpack Compiler' ./bin/compile > site/index.html shocco -t 'Python Buildpack Compiler' ./bin/compile > site/index.html
shocco -t 'Django Buildpack Compiler' ./bin/steps/django > site/django.html
site: docs site: docs
cd site && git add -A && git commit -m 'update' && git push heroku master cd site && git add -A && git commit -m 'update' && git push heroku master
......
...@@ -153,6 +153,9 @@ pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent ...@@ -153,6 +153,9 @@ pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent
# Do additional application hackery if applications appears to be a Django app. # Do additional application hackery if applications appears to be a Django app.
# Optionally, disable all Django-specific changes with `DISABLE_INJECTION` env. # Optionally, disable all Django-specific changes with `DISABLE_INJECTION` env.
#
# See [`bin/steps/django`](django.html).
if [ "$NAME" = "Python/Django" ] && ! [ "$DISABLE_INJECTION" ]; then if [ "$NAME" = "Python/Django" ] && ! [ "$DISABLE_INJECTION" ]; then
source $BIN_DIR/steps/django source $BIN_DIR/steps/django
fi fi
......
#!/usr/bin/env bash #!/usr/bin/env bash
# This script serves as the Django build step of the
# [**Python Buildpack**](https://github.com/heroku/heroku-buildpack-python)
# compiler.
#
# A [buildpack](http://devcenter.heroku.com/articles/buildpacks) is an
# adapter between a Python application and Heroku's runtime.
#
# This script is invoked by [`bin/compile`](/).
echo "-----> Injecting Django settings..." echo "-----> Injecting Django settings..."
SETTINGS_FILE=$(ls **/settings.py | head -1) SETTINGS_FILE=$(ls **/settings.py | head -1)
......
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