You must always provide the following argument when invoking djangocms installer:
project_name: Name of the project to be created
Optionally you can provide a project directory, otherwise a directory named after the project name will be created in the current directory.
project directory dir is the main project directory (the one where
will be created); by default the installer check if it’s empty (minus hidden files)
to ensure that you’re running in a clean environment. If you want to use a
non-empty directory use the
The following arguments can be overridden in Wizard mode
-d: Database configuration (in URL format); use dj-database-url syntax; default:
-i: Activate Django I18N / L10N setting; choices:
-z: Activate Django timezone support; choices:
-t: Optional default time zone, default: local timezone
-e: Install and configure reversion support, choices:
yes; this will ignored for 3.4 and higher versions of django CMS as support has been dropped upstream;
--permissions: Activate CMS permission management; choices:
-l: Languages available for the project. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here; refer to django source for a list of supported codes.
--django-version: Django version; choices:
-v: django CMS version, choices:
--bootstrap: Use Twitter Bootstrap as theme, choices:
--starting-page: Load a starting page with examples (available for english language only) after installation, choices:
--templates: Use a custom directory as template source; is checked to be a valid path, otherwise the shipped templates are used
stable keyword is expanded to latest released Django version supported by django CMS
lts keyword is expanded to latest released Django LTS supported by django CMS
stable keyword is expanded to latest released django-cms version
lts keyword is expanded to latest released django-cms LTS version
if an unsupported combination of Django and django CMS version is selected, the wizard exits reporting the error.
The following options are not managed by the config wizard and are meant for advanced usage:
-q: If given djangocms installer run in Batch mode (default) (default behavior);
-w: If given djangocms installer run in Wizard mode;
-p: Optional project directory;
--verbose, : Provides output of the commands used to setup the project, namely
-f: Install and configure django-filer plugins; since 0.9 this is enabled by default and can’t be disabled;
--config-file: Provides the configuration options via a ini file; see Config file mode;
--config-dump: Dumps the configuration in a format suitable for
-config-fileoption; see Config file mode;
-R: Dumps the generated requirements to stdout and exits; see Dump mode;
-r: You can use a custom requirements files instead of the requirements provided by djangocms installer;
-n: Don’t install package dependencies;
--no-plugins: Don’t install plugins;
--no-db-driver: Don’t install database package;
-m: Don’t run syncdb / migrate after bootstrapping the project;
-u: Don’t create the admin user;
--utc, : Use UTC as default timezone;
-P: List plugins that’s going to be installed and configured for the project; this will not alter the virtualenv or create the project;
--extra-settings: Path to a file with extra variables to append to generated settings file. It doesn’t need to be a Python file, its content is blindly copied in the project settings.
-s: Skip the check if the project dir contains files or directory; in case of error when setting up the project the existing directory will be preserved.
-c: Delete project directory on creation failure in Batch mode (default).