Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Noah Zoschke
committed
Oct 21, 2011
1 parent
3f95d9b
commit c9be695
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
Python Language Pack | ||
Python Build Pack | ||
==================== | ||
The Python Language Pack (PLP) is a language pack for running Python and Django | ||
The Python Build Pack (PBP) is a build pack for running Python and Django | ||
apps on Heroku. | ||
|
||
If `requirements.txt` is present, the PLP considers the directory a Python app | ||
If `requirements.txt` is present, the PBP considers the directory a Python app | ||
with packages to install via pip. | ||
|
||
Furthermore, if `${PROJECT}/settings.py` is present, the PLP considers the | ||
Furthermore, if `${PROJECT}/settings.py` is present, the PBP considers the | ||
directory a Python/Django app, and patches `settings.py` to parse the Heroku | ||
DATABASE_URL config vars. It then sets default process types to use the Django | ||
web server. | ||
|
||
External Language Pack | ||
External Build Pack | ||
---------------------- | ||
Cutting-edge development is taking place in this repo. To use this on Heroku, | ||
set a `LANGUAGE_PACK_URL` config var with a fully authenticated URL to this repo: | ||
set a `BUILDPACK_URL` config var with a fully authenticated URL to this repo: | ||
|
||
$ heroku config:add LANGUAGE_PACK_URL=https://nzoschke:XXXXXXX@github.com/heroku/language-pack-python.git | ||
$ heroku config:add BUILDPACK_URL=https://nzoschke:XXXXXXX@github.com/heroku/heroku-buildpack-python.git | ||
|
||
On next push, slug-compiler will use this LP instead of the built-in one. | ||
On next push, slug-compiler will use this BP instead of the built-in one. |