From a6c28ead680218937e8d57d6929d6db93a8cab9c Mon Sep 17 00:00:00 2001 From: "jessdtate@gmail.com" Date: Thu, 23 May 2024 18:26:21 -0600 Subject: [PATCH] changed the repo url in a couple places, removed hard coded url --- CNAME | 2 +- ansible/playbook.yml | 2 +- shapeworks_cloud/core/management/commands/makeclient.py | 2 +- swcc/swcc/api.py | 2 +- swcc/swcc/cli.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CNAME b/CNAME index dd08d5d4..7918c79f 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -www.shapeworks-cloud.org +https://shapeworks-5f5454939472.herokuapp.com/home \ No newline at end of file diff --git a/ansible/playbook.yml b/ansible/playbook.yml index e26ce540..33257b2c 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -14,7 +14,7 @@ - role: girder.celery vars: celery_app: shapeworks_cloud.celery - celery_repository_url: https://github.com/girder/shapeworks-cloud.git + celery_repository_url: https://github.com/SCIInstitute/shapeworks-cloud.git celery_environment: "{{ django_vars }}" tasks: - name: Stop celery service to prevent manage_workers task from stopping instances diff --git a/shapeworks_cloud/core/management/commands/makeclient.py b/shapeworks_cloud/core/management/commands/makeclient.py index 8f063e2b..5d827842 100644 --- a/shapeworks_cloud/core/management/commands/makeclient.py +++ b/shapeworks_cloud/core/management/commands/makeclient.py @@ -17,7 +17,7 @@ def handle(self, uri, **options): uri = DEFAULT_REDIRECT_URI site = Site.objects.get_current() # type: ignore - site.domain = 'app.shapeworks-cloud.org' +# site.domain = 'app.shapeworks-cloud.org' site.name = 'ShapeWorks Cloud' site.save() diff --git a/swcc/swcc/api.py b/swcc/swcc/api.py index c3859508..51956fa3 100644 --- a/swcc/swcc/api.py +++ b/swcc/swcc/api.py @@ -34,7 +34,7 @@ def swcc_session(**kwargs): class SwccSession(BaseUrlSession): def __init__( self, - base_url: str = 'https://app.shapeworks-cloud.org/api/v1', +# base_url: str = 'https://app.shapeworks-cloud.org/api/v1', token: Optional[str] = None, **kwargs, ): diff --git a/swcc/swcc/cli.py b/swcc/swcc/cli.py index 8558fd0e..f0f7ac10 100644 --- a/swcc/swcc/cli.py +++ b/swcc/swcc/cli.py @@ -146,7 +146,7 @@ def main(): err=True, ) click.echo( - 'https://github.com/girder/shapeworks-cloud/issues/new', + 'https://github.com/SCIInstitute/shapeworks-cloud/issues/new', err=True, )