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
75f5e801
Commit
75f5e801
authored
May 18, 2011
by
Noah Zoschke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme tweaks
parent
fcae5381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
Readme.md
Readme.md
+17
-5
No files found.
Readme.md
View file @
75f5e801
...
@@ -8,11 +8,23 @@ Django settings.py
...
@@ -8,11 +8,23 @@ Django settings.py
------------------
------------------
Sets up a db for every ENV ${NAME}_URL => postgres:// var:
Sets up a db for every ENV ${NAME}_URL => postgres:// var:
DATABASES
[
"DATABASE"
]
DATABASES
[
"SHARED_DATABASE"
]
DATABASES["DATABASE"]
DATABASES
[
"HEROKU_POSTGRESQL_ONYX"
]
DATABASES["SHARED_DATABASE"]
DATABASES["HEROKU_POSTGRESQL_ONYX"]
Aliases DATABASE_URL to default database:
Aliases DATABASE_URL to default database:
DATABASES
[
"default"
]
= DATABASES
[
"DATABASE"
]
Injected right after DATABASES = {...}
DATABASES["default"] = DATABASES["DATABASE"]
\ No newline at end of file
Injected right after DATABASES = {...}
Hooks
-----
Uses a Makefile for user-controlled hooks into slug compilation.
Target
`environment`
will be evald in the build script, allowing
custom exports. PIP_OPTS is passed to pip if set.
environment:
export PIP_OPTS=--upgrade
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