jjbgf / eventbooking

Django webapp which allows to submit required date to attend an event.
GNU General Public License v2.0
0 stars 0 forks source link

Continuos deployment to Heroku #20

Open numberpi opened 9 years ago

numberpi commented 9 years ago

Use local settings

numberpi commented 9 years ago

I am not able to get it working. Problems with static files.

https://docs.djangoproject.com/en/1.7/howto/static-files/ https://docs.djangoproject.com/en/1.7/howto/static-files/deployment/ http://stackoverflow.com/questions/11569144/proper-way-to-handle-static-files-and-templates-for-django-on-heroku http://stackoverflow.com/questions/21141315/django-static-files-on-heroku https://devcenter.heroku.com/articles/django-assets

numberpi commented 9 years ago

image

samuelstein commented 9 years ago

fixed it after adding this to settings_base.py: STATICFILES_DIRS = ( os.path.join(os.path.dirname(file), 'static'), )