merengue-admin.py is Merengue’s command-line utility for administrative tasks. This document outlines all it can do.
merengue-admin.py extends django-admin.py adding some specific commands.
merengue-admin.py <subcommand> [options]
subcommand should be one of the subcommands listed in this document or some of the django-admin.py subcommands. options, which is optional, should be zero or more of the options available for the given subcommand.
Creates example tv contents.
Directory that contains preview files.
Initializes GIS on database.
Restores merengue site configuration from a zip file.
Creates a zip file from merengue site configuration.
Overwrites the zip file.
Saves all files on file system.
Creates a Django project directory structure for the given project name in the current directory.
For development of Merengue's core, symlink instead of copy.
Copies or links media files from all enabled plugins to the MEDIA_ROOT of the project.
This command is useful for deployment with a web server, because plugins can have their own media files. For development the view merengue.views.static.serve can be used.
Note
Based on the build_media management command from Pinax: http://github.com/pinax/pinax/blob/0f12c3a3a4ac396eeba734a52a285c7e2d7a7ea7/pinax/apps/staticfiles/management/commands/build_media.py which in turn is based on the collectmedia management command by Brian Beck: http://blog.brianbeck.com/post/50940622/collectmedia
Runs in interactive mode, asking before modifying files and selecting from multiple sources.
Traverses all enabled plugins.
A space-delimited list of glob-style patterns to ignore. Use multiple times to add more.
Do everything except modify the filesystem.
Creates a symbolic link to each file instead of copying.
Apr 12, 2011