Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

Commit

Permalink
Added dj shortcut to heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
kaedroho committed Nov 2, 2015
1 parent 45575c6 commit 7261575
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/post_compile
@@ -1,3 +1,8 @@
# Copy image files into media folder
mkdir -p media/original_images
cp demo/fixtures/images/* media/original_images/

# dj shortcut
if ! command -v dj; then
ln -s /app/.heroku/python/bin/django-admin /app/.heroku/python/bin/dj
fi

0 comments on commit 7261575

Please sign in to comment.