Skip to content
Advertisement

Tag: heroku

Django: Not Found static/admin/css

I just deployed my first Django app on Heroku but I notice that it doesn’t have any CSS like when I runserver on the local machine. I know there’s something wrong with static files but I don’t understand much about it even when I already read the docs. I can do python3 manage.py collectstatic to create a static folder but

Separating development and production parts of django project

I’m building a site that relies on the output of a machine learning algorithm. All that is needed for the user-facing part of the site is the output of the algorithm (class labels for a set of items), which can be easily stored and retrieved from the django models. The algorithm could be run once a day, and does not

Django + Heroku: Out of Memory problems

So this is my first time deploying a django instance on Heroku. My site has had 1000 visits so far and 600 unique visits. We get about 60-200 visits per day. The link is https://socialspark.spuro.org/ Today, 6 days into being live – our site is running into a lot of memory issues. I.E., cannot allocate dyno process or, cannot allocate

Python-Tornado on Heroku

I am trying to deploy Tornado on Heroku. I am able to run a simple “hello world” app on using this method: http://kzk9.net/deploying-tornado-on-heroku-mac-os-x But while trying Tornado demo-app “chatdemo”, the server is crashing with following logs: Anybody has any idea whats wrong? Answer Check your procfile and requirements.txt. If anyone is looking, here is one working example of same official

Advertisement