title: Trying to set up a heroku staging site - "Resource not found "
body: <p>I'm working on an existing rails project which is deployed on heroku.  I'm trying to set up a staging server which deploys from the staging branch.  (currently master deploys to production).</p>
  
  <p>I'm following this page 
  <a href="http://devcenter.heroku.com/articles/multiple-environments#starting_with_a_production_app" rel="nofollow">http://devcenter.heroku.com/articles/multiple-environments#starting_with_a_production_app</a></p>
  
  <p>and i'm on the section "Starting from a production app".  The code it gives is </p>
  
  <p><code>heroku create --stack [production stack] --remote staging --addons newrelic:bronze,logging:expanded</code></p>
  
  <p>I'm trying to adapt this to my own needs but i get a message back <code>Resource not found</code>.  </p>
  
  <p>Here's what i get for "heroku apps"</p>
  
  <pre><code>custom_domains:basic
  exceptional:basic
  logging:expanded
  shared-database:5mb
  </code></pre>
  
  <p>If i do <code>heroku list</code> i get this</p>
  
  <pre><code>buddystef                 &lt;project manager's email&gt;
  vivid-window-286
  vivid-earth-537
  </code></pre>
  
  <p>where 'buddystef' is the production version of the app.  So, i'm trying this:</p>
  
  <p><code>heroku create --stack [buddystef stack] --remote buddy-staging --addons custom_domains:basic,exceptional:basic,logging:expanded,shared-database:5mb</code></p>
  
  <p>And i'm getting <code>Resource not found</code></p>
  
  <p>Do i need to set up a seperate git repo first for the staging branch?  If so, what's the best way to do this?</p>
  
  <p>Grateful for any advice - max</p>
  
  <p>EDIT - the "Resource not found" message seems (after googling) to be associated with logging in with the wrong credentials.  But, i'm logging in as the owner of the buddystef project.</p>