Internal function reference¶
Base module¶
fabric config module¶
-
deploytools.fabric_config.
get_domain_name
()¶ Get the current domain name (according to the settings
-
deploytools.fabric_config.
get_port
()¶ Get the port for gunicorn
-
deploytools.fabric_config.
get_project_name
()¶ Get the project name
-
deploytools.fabric_config.
get_project_settings
()¶ Get all settings for current domain_name
-
deploytools.fabric_config.
get_setting
(setting)¶ Get for current domain setting {{setting}}
fabric utils¶
init_d helpers (deprecated)¶
-
deploytools.init_d.
create_celery_script
()¶ Create celerydj_{{get_domain_name()}} start/stop script in the /etc/init.d folder
-
deploytools.init_d.
create_gunicorn_script
(project_settings)¶ Create the gunicorn_{{domain_name}} start/stop script in the /etc/init.d folder