Thanks for the quick reply with the helpful links!
Instead of using Fabric to deploy, I am trying to use Docker
http://www.docker.com, more specifically, this docker image for Mezzanine
https://registry.hub.docker.com/u/noisy/mezzanine-docker-demo/.
I took out the --noinput flag on the last manage.py commands (syncdb and
migrate) in the Dockerfile because I have a shell script (found on
Docker.com for postgres) that I changed a bit to include the db user, name
and passwd.
However when I run the command to start Mezzanine and link it to the db, it
gives me this error:
570 static files copied to '/mezzanine-project/static'.
CommandError: Command doesn't accept any arguments
Is it because I removed the --noinput from those 2 statements in the
Dockerfile? What am I missing here?
On Monday, May 4, 2015 at 11:03:34 AM UTC-4, Kenneth Bolton wrote:
The values are defined here:
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/management/commands/createdb.py#L19-L21
And the method that creates the user is here:
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/management/commands/createdb.py#L104-L112
If you use Fabric and the included fabfile, you can define a value for the
admin password here:
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/local_settings.py.template#L43
hth!
-ken
On Mon, May 4, 2015 at 10:55 AM, automo...@gmail.com javascript:
wrote:
How does Mezzanine create the default for username: admin, password:
default? Possible point in the right direction...
--
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.