Saturday, April 24, 2021

Re: Assistance for deploying django app to heroku

Good day Kasper,

Hi Kasper, 

Thanks for your response. The "git" commands I put in the email was not just to give any one an idea of what commands I had run but on my CLI, I ran the proper git commands with the proper messages and not leaving it empty.
BR,
Ejike Chiboka
08022224537; 08166516400


On Fri, Apr 23, 2021 at 7:53 PM Kasper Laudrup <laudrup@stacktrace.dk> wrote:
On 23/04/2021 20.41, Ejike Enyinnaya wrote:
> I did a git add ., git commit -m and git push heroku master

Not sure if it's related, but it's possible: This is not how you should
use revision control (git).

You should keep your source files under revision control, not just
blindly add everything and committing it with an empty commit message.
Then you might as well not use any kind of revision control at all.

It might be slightly off topic and not related to your problem, but on
the other hand, there's a huge chance that you have added a bunch of
stuff like your database file and you have zero way of tracking what you
have actually changed.

Not sure if this has every worked for you, but if you have a similar
problem and it used to work and then suddenly didn't, using revision
control like git can be an enormous help.

Do yourself a huge favor and learn how to use revision control.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4ebee094-cc84-ce01-ddfd-11ca231960d6%40stacktrace.dk.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADe59C9EojiHJ6fCj%2BJgMgfjThmUSrLBiwgEd4RQgoX7%2BTmAKQ%40mail.gmail.com.

No comments:

Post a Comment