Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
b706cd13
Commit
b706cd13
authored
Feb 29, 2016
by
Ed Morley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix README and script comment typos
parent
724e51b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
Readme.md
Readme.md
+1
-2
compile
bin/compile
+4
-4
collectstatic
bin/steps/collectstatic
+1
-1
No files found.
Readme.md
View file @
b706cd13
...
...
@@ -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.
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 rel
e
ase of this buildpack for upcoming builds of an existing application:
$ heroku buildpacks:set heroku/python
Specify a Python Runtime
------------------------
...
...
bin/compile
View file @
b706cd13
#!/usr/bin/env bash
# The Heroku Python Buildpack. This script accepts param
a
ters for a build
# The Heroku Python Buildpack. This script accepts param
e
ters for a build
# directory, a cache directory, and a directory for app environment variables.
# Warning: there are a few hacks in this script to accom
i
date excellent builds
# on Heroku. No g
aure
ntee for external compatibility is made. However,
# Warning: there are a few hacks in this script to accom
mo
date excellent builds
# on Heroku. No g
uara
ntee for external compatibility is made. However,
# everything should work fine outside of the Heroku environment, if the
# environment is setup correctly.
...
...
@@ -73,7 +73,7 @@ source $BIN_DIR/utils
# Import collection of warnings.
source
$BIN_DIR
/warnings
# Directory Hacks for path consist
i
ency.
# Directory Hacks for path consistency.
APP_DIR
=
'/app'
TMP_APP_DIR
=
$CACHE_DIR
/tmp_app_dir
...
...
bin/steps/collectstatic
View file @
b706cd13
...
...
@@ -19,7 +19,7 @@ MANAGE_FILE=${MANAGE_FILE:-fakepath}
# Legacy file-based support for $DISABLE_COLLECTSTATIC
[
-f
.heroku/collectstatic_disabled
]
&&
DISABLE_COLLECTSTATIC
=
1
# Ensure that Django is explicit
ily specified in requir
ments.txt
# Ensure that Django is explicit
ly specified in require
ments.txt
pip-grep
-s
requirements.txt django Django
&&
DJANGO_INSTALLED
=
1
bpwatch start collectstatic
# metrics collection
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment