When I push my app to heroku by ">>>git push heroku master" I have the problem below
Pic of a console
You have a buildpack set to the app. That's incorrect. Buildpacks need to point to GitHub repos. You could take out the buildpack with heroku buildpacks:clear.
Related
Is it possible to do that connection???
I have a project which I want to run on heroku at the same time on Digitalocean.
I tried it but heroku returns an error if I remove the Procfile, which Digitalocean does not require.
DO works if I remove the Procfile but heroku errors, and vieversa.
I'm kind of new in this of heroku and github, but what I want to do is put a Django application in heroku to my github account. How can I do that from console or something?
You have a local git repository of your code that you pushed to heroku. Now you just got to http://github.com (create an account if you haven't yet) and a repository for your project. You will then get the instructions to push your existing code to the newly created repo.
I was wondering if it is possible to deploy to heroku with out putting my django project on git?
My another question. I already have my app on heroku. Now I want to make changes to it. But the computer I had the soruce code crashed. So how do I download my project files from heroku?
No. ( But there is a plugin to do that, but I would say why bother. But.. - https://github.com/ddollar/heroku-push)
But all you have to do is git init to setup a repo, and push to the heroku remote after setting up an app. You don't have to publish your repo anywhere.
You can get back your code by using:
heroku clone <appname>
I currently have a django project deployed on Heroku, but I would like to deploy another dummy Heroku app for testing purposes. The idea is that I can make changes to the dummy Heroku account on a git branch, see how it works live, and then merge and push to my actual Heroku project. Is this possible?
I haven't tried this but I don't see why it wouldn't be possible.
Just add another remote on git to the repository to your production heroku git address.
git remote add htest your_test_app_heroku.git
git remote add heroku your_actual_app_heroku.git
Developing a Django app and decided to ditch the Linode for Heroku. Just too much crap to deal with. So I can run my app fine using python manage.py runserver both locally and when ssh'd into the Linode, but when pushed to the heroku git repo (goes through, runs fine), I get TemplateDoesNotExist at / home.html. On my computer the folder is located at Heroku/Django_App/OmniCloud_App/Templates/ (Django_App is the folder with settings.py, etc.).
Heroku is checking at /app/OmniCloud_App/Templates/ How can I see the file structure of Heroku and specify that in settings.py so I can run the app locally for development as well as pushed to Heroku?
Once you've pushed to heroku you may connect to an isolated instance of your heroku app through bash. You can access this with:
heroku run bash --app appname
(Keep in mind this does use hours off of your heroku credit though).