Content-addressed version deploy system for Diffuse
elements.diffuse.sh
Content-addressed version deploy system for Diffuse. Allows the user to pick a deployed version of Diffuse.
How to use#
- Install
denoandfclones - Build:
deno run build:with-symlink-redirectsdeno run build:without-symlink-redirects- Or, a deploy command as shown below.
Deploying#
Depending on the targetted platform, a different strategy might be applied. For example, we don't need to redirect rules for symlinks on IPFS because de-duplication is part of the protocol.
All the following commands perform a build automatically.
# IPFS
deno run deploy:ipfs
# Netlify
deno run deploy:netlify
To do#
- Generate rules for symlinks
- Index page listing all versions
- Support version ranges (eg. "4.0.x" for latest patch release)