[mezzanine-users] Re: Confused by commands

2015-04-30 Thread Eduardo Rivas
Hi! The createdb command is only for initially populating the database and doing other bootstrapping required on first run. The other commands you see there are required for subsequent deployments, they do the following: - collectstatic: Gets all static resources from every installed app into a

[mezzanine-users] Re: Confused by commands

2015-05-01 Thread automotiveace
Thank you for the great explanation - hitting the Django docs now! On Friday, May 1, 2015 at 12:16:28 AM UTC-4, Eduardo Rivas wrote: > > Hi! The createdb command is only for initially populating the database and > doing other bootstrapping required on first run. The other commands you see > ther

[mezzanine-users] Re: Confused by commands

2015-05-01 Thread automotiveace
Based on answer to the original question, it seems that adding: python manage.py createdb --noinput as the first command would be correct? Also what does --noinput do? Having a hard time finding the answer to that. On Friday, May 1, 2015 at 12:16:28 AM UTC-4, Eduardo Rivas wrote: > > Hi! The cre

Re: [mezzanine-users] Re: Confused by commands

2015-05-01 Thread Tom Lockhart
> Based on answer to the original question, it seems that adding: > python manage.py createdb --noinput > as the first command would be correct? Yes, but only if you have no database yet. The other commands can help you update your database and installation if static data or the schema has chang