title: How to deploy / migrate an existing django app / project to a production server on Heroku?
body: <p>I have a basic django app (<a href="https://github.com/ecprice/newsdiffs" rel="nofollow">Newsdiffs</a>)that runs just fine at <code>localhost:8000</code> with <code>python website/manage.py runserver</code> but I'd like to migrate it to Heroku and I can't figure out what my next step is.</p>
  
  <p>I thought getting it running locally would translate to running it on Heroku, but I'm realizing that <code>python website/manage.py runserver</code> is launching the dev settings and I'm not sure how to tell it to use the main settings. </p>
  
  <p>All that is in my Procfile is this:</p>
  
  <p>web: python website/manage.py runserver</p>
  
  <p>Locally, that works fine, though it launches it at <a href="http://127.0.0.1:8000/" rel="nofollow">http://127.0.0.1:8000/</a> which is probably not what I want on Heroku. So how do I figure out where to set the hostname and port? I don't see either in the app anyplace.</p>