Saturday, April 24, 2021

Re: Assistance for deploying django app to heroku

I didn't see a "createsuperuser" command. Was that done or is it part of your fixtures.json load?

Jim

On Apr 24, 2021, at 8:04 AM, Ejike Enyinnaya <ejike.chiboka@gmail.com> wrote:

Good day Kasper,

Thanks for your response. 

The git commands I put in the email was just to give a summary of what I had done and not the full details, that way my email is not too long and cumbersome to read.

I can assure you on my CLI, I ran the proper git commands putting in the right information 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/CADe59C-Sau_rAhxLJQKBmMcHDMxq_Uc12aTVo%2BRL4YoSdOf7aw%40mail.gmail.com.

No comments:

Post a Comment