def install(self):
if not self.is_valid:<EOL><INDENT>raise PolyaxonDeploymentConfigError(<EOL>'<STR_LIT>'.format(self.deployment_type))<EOL><DEDENT>if self.is_kubernetes:<EOL><INDENT>self.install_on_kubernetes()<EOL><DEDENT>elif self.is_docker_compose:<EOL><INDENT>self.install_on_docker_compose()<EOL><DEDENT>elif self.is_docker:<EOL><INDENT>self.install_on_docker()<EOL><DEDENT>elif self.is_heroku:<EOL><INDENT>self.install_on_heroku()<EOL><DEDENT>
Install polyaxon using the current config to the correct platform.