girder / shapeworks-cloud

A web version of ShapeWorks Studio

Home Page:https://www.shapeworks-cloud.org/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ShapeWorks logo

ShapeWorks Cloud

This is a cloud based webapp alternative to a desktop application called ShapeWorks Studio, made in collaboration with ShapeWorks. See the ShapeWorks Website for more details.

Deployed Instance

See https://www.shapeworks-cloud.org/.

Or, access the OpenAPI REST interface at https://app.shapeworks-cloud.org/api/docs/swagger/.

For admins, visit https://app.shapeworks-cloud.org/admin.

Quick Start

Using docker compose is the simplest configuration to start with, so it is a prerequisite for this quick start. These installation instructions assume you have a a modern linux based system with a docker version 20.10.13 or greater. It may work on other systems as well.

Initial Setup

  1. Run git clone git@github.com:girder/shapeworks-cloud.git
  2. Run cd shapeworks-cloud
  3. Run docker compose build
  4. Run docker compose run --rm django ./manage.py migrate
  5. Run docker compose run --rm django ./manage.py createsuperuser
  6. Run docker compose run --rm django ./manage.py makeclient

Run Application

  1. Run docker compose up
  2. Access the site, starting at http://localhost:8081/
  3. Access admin console at http://localhost:8000/admin/
  4. When finished, use Ctrl+C

Example Data

The ShapeWorks Cloud Client (SWCC) is a Python library to interact with a ShapeWorks Cloud server. You can use SWCC to upload some example data.

  1. Run pip install swcc

    For developers, use pip install -e ./swcc

  2. Run cd swcc/examples

  3. Run python upload_examples.py

Application Maintenance

Occasionally, new package dependencies or schema changes will necessitate maintenance. To non-destructively update your development stack at any time:

  1. Run docker compose pull
  2. Run docker compose build --pull --no-cache
  3. Run docker compose run --rm django ./manage.py migrate

About

A web version of ShapeWorks Studio

https://www.shapeworks-cloud.org/#/

License:Apache License 2.0


Languages

Language:Python 43.6%Language:Vue 30.5%Language:JavaScript 13.1%Language:TypeScript 11.6%Language:Dockerfile 0.4%Language:HCL 0.3%Language:Shell 0.2%Language:HTML 0.1%Language:Procfile 0.0%