Hi Govind,
On 29/12/2020 21.57, Govind Kumar Yadav wrote:
> Like if I am trying to deploy a new project from beginning I am able to
> do that without any error but when I try to deploy my already existing
> project which works fine on my local windows machine with postgresdb it
> fails to migrate the data and pops error that relation "posts_post does
> not exist".
Are you using postgres on Windows or which database are you using? It's
not really clear from what you're writing, but if you're using sqlite,
then this might help:
https://dev.to/coderasha/how-to-migrate-data-from-sqlite-to-postgresql-in-django-182h
It seems like this has nothing to do with the operating system but is
more of a database migration issue?
> Please let me know that if it's possible to deploy a full fledged django
> webapp with al the data prepared on local host using postgresdb on Linux.
It is. You just need to make it clearer what you have done to "prepare
all the data on localhost".
Kind regards,
Kasper Laudrup