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
436e945a
Commit
436e945a
authored
May 30, 2012
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indents
parent
f9b83a4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
collectstatic
bin/steps/django/collectstatic
+7
-0
injection
bin/steps/django/injection
+6
-0
No files found.
bin/steps/django/collectstatic
View file @
436e945a
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
set
+e
set
+e
# Syntax sugar.
indent
()
{
RE
=
"s/^/ /"
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
}
# Check if collectstatic is configured.
# Check if collectstatic is configured.
python
$MANAGE_FILE
collectstatic
--help
&> /dev/null
&&
RUN_COLLECTSTATIC
=
true
python
$MANAGE_FILE
collectstatic
--help
&> /dev/null
&&
RUN_COLLECTSTATIC
=
true
...
...
bin/steps/django/injection
View file @
436e945a
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
# ## Sanity Checks
# ## Sanity Checks
#
#
# Syntax sugar.
indent
()
{
RE
=
"s/^/ /"
[
$(
uname
)
==
"Darwin"
]
&&
sed
-l
"
$RE
"
||
sed
-u
"
$RE
"
}
echo
"-----> Installing dj-database-url..."
echo
"-----> Installing dj-database-url..."
pip
install
--use-mirrors
dj-database-url | indent
pip
install
--use-mirrors
dj-database-url | indent
...
...
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