Search code examples
djangogitherokubitbucketheroku-toolbelt

How should I stage my bitbucket + heroku django app for development and deployment?


How should I stage my bitbucket + heroku django app for development and deployment?

I'm working on a Django App. I don't want to use github because I want to host have a private repo. So right now I know how to deploy an app on heroku but how do I do it through bitbucket?

What is this deployment key stuff? Do I have to reset my git remote origins or something? Do I deploy with different folders? and commit my source code to different folders?

What happens when I want scale up my development environment to multiple computers? I know I will be using git to monitor changes to the repo, how should I allow all of them to deploy to heroku?

Thanks


Solution

  • Change your git remote to point to your bitbucket URL, then proceed as normal.

    Your remote origin would be the URL to your bitbucket found in settings. Your remote heroku would be pointing to Heroku.