mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
readme
This commit is contained in:
@@ -14,18 +14,16 @@ web server and console.
|
|||||||
Compile Hooks
|
Compile Hooks
|
||||||
-------------
|
-------------
|
||||||
The PLP uses a Makefile for user-controlled hooks into slug compilation. If
|
The PLP uses a Makefile for user-controlled hooks into slug compilation. If
|
||||||
present, the `environment` rule will be eval'd in the compile script, allowing
|
present, the `make environment` rule will be eval'd in the compile script, allowing
|
||||||
user-defined exports.
|
user-defined exports.
|
||||||
|
|
||||||
The environment variables referenced in the compile script are:
|
|
||||||
|
|
||||||
PIP_OPTS
|
|
||||||
|
|
||||||
A sample Makefile to force a re-build of every pip package is:
|
A sample Makefile to force a re-build of every pip package is:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
export PIP_OPTS=--upgrade
|
export PIP_OPTS=--upgrade
|
||||||
|
|
||||||
|
(<a href="https://github.com/heroku/language-pack-python/raw/master/test/canary_django/Makefile">raw file</a>)
|
||||||
|
|
||||||
Django settings.py
|
Django settings.py
|
||||||
------------------
|
------------------
|
||||||
The PLP injects code into settings.py to alias every Heroku database URL
|
The PLP injects code into settings.py to alias every Heroku database URL
|
||||||
|
|||||||
Reference in New Issue
Block a user