Skip to content
Snippets Groups Projects
Commit b706cd13 authored by Ed Morley's avatar Ed Morley
Browse files

Fix README and script comment typos

parent 724e51b5
No related branches found
No related tags found
No related merge requests found
...@@ -32,12 +32,11 @@ Deploying a Python application couldn't be easier: ...@@ -32,12 +32,11 @@ Deploying a Python application couldn't be easier:
A `requirements.txt` file must be present at the root of your application's repository. A `requirements.txt` file must be present at the root of your application's repository.
You can also specify the latest production relase of this buildpack for upcoming builds of an existing application: You can also specify the latest production release of this buildpack for upcoming builds of an existing application:
$ heroku buildpacks:set heroku/python $ heroku buildpacks:set heroku/python
Specify a Python Runtime Specify a Python Runtime
------------------------ ------------------------
......
#!/usr/bin/env bash #!/usr/bin/env bash
# The Heroku Python Buildpack. This script accepts paramaters for a build # The Heroku Python Buildpack. This script accepts parameters for a build
# directory, a cache directory, and a directory for app environment variables. # directory, a cache directory, and a directory for app environment variables.
# Warning: there are a few hacks in this script to accomidate excellent builds # Warning: there are a few hacks in this script to accommodate excellent builds
# on Heroku. No gaurentee for external compatibility is made. However, # on Heroku. No guarantee for external compatibility is made. However,
# everything should work fine outside of the Heroku environment, if the # everything should work fine outside of the Heroku environment, if the
# environment is setup correctly. # environment is setup correctly.
...@@ -73,7 +73,7 @@ source $BIN_DIR/utils ...@@ -73,7 +73,7 @@ source $BIN_DIR/utils
# Import collection of warnings. # Import collection of warnings.
source $BIN_DIR/warnings source $BIN_DIR/warnings
# Directory Hacks for path consistiency. # Directory Hacks for path consistency.
APP_DIR='/app' APP_DIR='/app'
TMP_APP_DIR=$CACHE_DIR/tmp_app_dir TMP_APP_DIR=$CACHE_DIR/tmp_app_dir
......
...@@ -19,7 +19,7 @@ MANAGE_FILE=${MANAGE_FILE:-fakepath} ...@@ -19,7 +19,7 @@ MANAGE_FILE=${MANAGE_FILE:-fakepath}
# Legacy file-based support for $DISABLE_COLLECTSTATIC # Legacy file-based support for $DISABLE_COLLECTSTATIC
[ -f .heroku/collectstatic_disabled ] && DISABLE_COLLECTSTATIC=1 [ -f .heroku/collectstatic_disabled ] && DISABLE_COLLECTSTATIC=1
# Ensure that Django is explicitily specified in requirments.txt # Ensure that Django is explicitly specified in requirements.txt
pip-grep -s requirements.txt django Django && DJANGO_INSTALLED=1 pip-grep -s requirements.txt django Django && DJANGO_INSTALLED=1
bpwatch start collectstatic # metrics collection bpwatch start collectstatic # metrics collection
......
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