Skip to content

Instantly share code, notes, and snippets.

@ksysctl
Created April 27, 2012 20:16
Show Gist options
  • Save ksysctl/2512584 to your computer and use it in GitHub Desktop.
Save ksysctl/2512584 to your computer and use it in GitHub Desktop.
Create an symbolic link on Openshift to retrieve static admin media
DJANGO_VERSION=1.4;
cd ${OPENSHIFT_REPO_DIR}/wsgi/static;
ln -s ${OPENSHIFT_GEAR_DIR}/virtenv/lib/${OPENSHIFT_GEAR_TYPE}/site-packages/Django-${DJANGO_VERSION}-py2.6.egg/django/contrib/admin/static/admin/ admin;
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment