Did I find the right examples for you? yes no

All Samples(28)  |  Call(16)  |  Derive(0)  |  Import(12)

src/d/j/django-fabdeploy-plus-0.4/fabdeploy/supervisor.py   django-fabdeploy-plus(Download)
from .containers import conf
from .task import Task as BaseTask
from .utils import upload_config_template, upload_init_template
 
 
    def do(self):
        upload_config_template(
            self.conf.supervisord_config_lfile,
            self.conf.supervisord_config_file,
            context=self.conf,
                config)
            upload_config_template(
                from_filepath,
                to_filepath,
                context=self.conf)

src/f/a/fabdeploy-HEAD/fabdeploy/supervisor.py   fabdeploy(Download)
from .containers import conf
from .task import Task as BaseTask
from .utils import upload_config_template, upload_init_template
 
 
    def do(self):
        upload_config_template(
            self.conf.supervisord_config_lfile,
            self.conf.supervisord_config_file,
            context=self.conf,
                config)
            upload_config_template(
                from_filepath,
                to_filepath,
                context=self.conf)

src/d/j/django-fabdeploy-plus-0.4/fabdeploy/apache.py   django-fabdeploy-plus(Download)
from .containers import conf
from .task import Task
from .utils import upload_config_template
from .nginx import PushConfigTask as PushNginxConfigTask
 
    def do(self):
        run('mkdir --parents %(wsgi_path)s' % self.conf)
        upload_config_template('django_wsgi.py', self.conf.wsgi_filepath)
 
wsgi_push = WSGIPush()
 
        upload_config_template(
            'apache.config',
            self.conf.config_filepath,
            context=self.conf,

src/f/a/fabdeploy-HEAD/fabdeploy/apache.py   fabdeploy(Download)
from .containers import conf
from .task import Task
from .utils import upload_config_template
from .nginx import PushConfigTask as PushNginxConfigTask
 
    def do(self):
        run('mkdir --parents %(wsgi_path)s' % self.conf)
        upload_config_template('django_wsgi.py', self.conf.wsgi_filepath)
 
wsgi_push = WSGIPush()
 
        upload_config_template(
            'apache.config',
            self.conf.config_filepath,
            context=self.conf,

src/d/j/django-fabdeploy-plus-0.4/fabdeploy/uwsgi.py   django-fabdeploy-plus(Download)
from fabric.api import sudo, settings
 
from .task import Task
from .containers import conf
from .utils import upload_config_template
             self.conf)
        upload_config_template(
            'uwsgi.ini', self.conf.config, context=self.conf, use_sudo=True)
        with settings(warn_only=True):
            sudo('ln --symbolic %(config)s %(enabled_config)s' % self.conf)

src/d/j/django-fabdeploy-plus-0.4/fabdeploy/nginx.py   django-fabdeploy-plus(Download)
from .containers import conf
from .task import Task
from .utils import upload_config_template
 
 
    def do(self):
        upload_config_template(
            self.conf.config_template,
            self.conf.config,
            context=self.conf,

src/f/a/fabdeploy-HEAD/fabdeploy/uwsgi.py   fabdeploy(Download)
from fabric.api import sudo, settings
 
from .task import Task
from .containers import conf
from .utils import upload_config_template
             self.conf)
        upload_config_template(
            'uwsgi.ini', self.conf.config, context=self.conf, use_sudo=True)
        with settings(warn_only=True):
            sudo('ln --symbolic %(config)s %(enabled_config)s' % self.conf)

src/f/a/fabdeploy-HEAD/fabdeploy/nginx.py   fabdeploy(Download)
from .containers import conf
from .task import Task
from .utils import upload_config_template
 
 
    def do(self):
        upload_config_template(
            self.conf.config_template,
            self.conf.config,
            context=self.conf,

src/d/j/django-fabdeploy-plus-0.4/fabdeploy/pip.py   django-fabdeploy-plus(Download)
from fabric.api import sudo, run
 
from .containers import conf
from .task import Task
from .utils import home_path, upload_config_template
    def do(self):
        sudo('mkdir --parents %(home_path)s/.pip' % self.conf)
        upload_config_template(
            'pip.conf',
            '%(home_path)s/.pip/pip.conf' % self.conf,

src/f/a/fabdeploy-HEAD/fabdeploy/pip.py   fabdeploy(Download)
from fabric.api import sudo, run
 
from .containers import conf
from .task import Task
from .utils import home_path, upload_config_template
    def do(self):
        sudo('mkdir --parents %(home_path)s/.pip' % self.conf)
        upload_config_template(
            'pip.conf',
            '%(home_path)s/.pip/pip.conf' % self.conf,

  1 | 2  Next