Skip to content

Repository files navigation

  1. Install micromamba
  2. uv sync --no-install-project
  3. uv run jupyter lite build --contents contents --output-dir dist
  4. aws s3 sync dist/ s3://try.pycalphad.org
  5. visit https://try.pycalphad.org

Notes

One-time setup

  • S3: bucket named try.pycalphad.org (must match the hostname for Cloudflare → S3 website hosting), Block Public Access off, public read policy, static website hosting enabled (index/error document: index.html)
  • Cloudflare: proxied CNAME try → try.pycalphad.org.s3-website-us-east-1.amazonaws.com, SSL mode Flexible for this hostname (the S3 website endpoint is HTTP-only)
  • For the filesystem to work, either:
    • enable Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy
    • https only: use https and get service-workers as a fallback (see here, also works on localhost)

About

JupyterLite deployment of PyCalphad ecosystem examples

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages