Thanks for the quick reply, Eduardo . 

That makes perfect sense. That's why I didn't figure it out myself. lol...

I thought about the migration issue right after posting. It doesn't have 
anything to do with data, only model structure.

Thanks again for the help. 

On Thursday, January 18, 2018 at 5:50:52 PM UTC-6, Eduardo Rivas wrote:
>
> Hello!
>
> The fabfile assumes your test database contains data not suitable for 
> production. You will need to manually dump and restore your DB in the 
> production server if you want to transfer your development data. My 
> suggestion is you create your own Fabric task to automate the process if 
> this is something you'll need to do often.
>
> As for the migrations, they are automatically run on first deploy, so 
> unless you've created new migrations, nothing will be applied when running 
> "migrate". What you have in production is a database with all tables and 
> columns created but no rows.
>
> Hope that helps :)
>
> On 2018-01-18 5:40 PM, rwr....@gmail.com <javascript:> wrote:
>
> Hi all.... 
>
> I'm brand new to Mezzanine, but not to Django.
>
> I created a test mezzanine project and it runs perfectly on loclhost. It's 
> a default project with the provided sample data, no mods at all.
>
> I deployed the project to a fresh Linode Debian Stretch server using 'fab 
> secure' and then 'fab all'. Everything seemed to work perfectly, I can hit 
> the site and see the Mezzanine homepage no problem. But it doesn't seem to 
> have populated the database on the server at all. I'm using postgres and 
> can see, using psql, that the project database was created. I also can't 
> login into the admin page of the site. Again, I believe this is simply 
> because database wasn't populated. All of the project log files on the 
> server are empty.
>
> I also ran 'fab deploy' and it seemed to work but tells me there were no 
> migrations to apply. I also ran 'python manage.py migrate', which also 
> reported no migrations to apply.
>
> What information can I provide to help understand what's going on here. 
> Or, is there just something, some step maybe, that I missed?
>
> Thanks in advance for ny help.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mezzanine-use...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to