示例#1
0
    def __init__(self):
        super(DjangoDeploy, self).__init__()
        required_envs([
            'host_string'
        ])

        self.gunicorn = GunicornDeploy(release_path=env.remote_release_path)
示例#2
0
    def __init__(self):
        super(DjangoDeploy, self).__init__()
        required_envs([
            'host_string'
        ])

        self.gunicorn = GunicornDeploy(release_path=env.remote_release_path)
示例#3
0
 def __init__(self):
     super(NginxDeploy, self).__init__()
     required_envs([
         'project_name',
         'project_domain',
         'gunicorn_port'
     ]
     )
示例#4
0
    def __init__(self, release_path):
        super(GunicornDeploy, self).__init__()
        self.release_path = release_path
        self.nginx = NginxDeploy()

        required_envs([
            'project_name',
            'gunicorn_port'
        ])
示例#5
0
    def __init__(self):
        self.release_path = None

        self.django = DjangoDeploy()

        required_envs(["project_name", "remote_app_path", "user", "remote_release_path", "remote_virtualenv_path"])
示例#6
0
    def __init__(self, release_path):
        super(GunicornDeploy, self).__init__()
        self.release_path = release_path
        self.nginx = NginxDeploy()

        required_envs(['project_name', 'gunicorn_port'])