Content-addressed version deploy system for Diffuse
elements.diffuse.sh
1**Content-addressed version deploy system for Diffuse**. Allows the user to pick a deployed version of Diffuse.
2
3
4## How to use
5
61. Install `deno` and `fclones`
72. Build:
8 - `deno run build:with-symlink-redirects`
9 - `deno run build:without-symlink-redirects`
10 - Or, a deploy command as shown below.
11
12
13## Deploying
14
15Depending 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.
16
17All the following commands perform a build automatically.
18
19```shell
20# IPFS
21deno run deploy:ipfs
22
23# Netlify
24deno run deploy:netlify
25```
26
27
28## To do
29
30- [x] Generate rules for symlinks
31- [ ] Index page listing all versions
32- [ ] Support version ranges (eg. "4.0.x" for latest patch release)