OK, I did manage to get logged into the admin pages by creating a django 
admin supersuer on the server. Just need a reliable method for syncing 
databases.

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, [email protected] <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 [email protected] <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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to