53 lines
2.1 KiB
Markdown
53 lines
2.1 KiB
Markdown
# Website and release maintenance
|
|
|
|
ShellGleam is maintained in
|
|
[`meghdadfadaee/shell-gleam`](https://github.com/meghdadfadaee/shell-gleam).
|
|
|
|
- Website: `https://meghdadfadaee.github.io/shell-gleam/`
|
|
- Bootstrap: `https://meghdadfadaee.github.io/shell-gleam/setup.sh`
|
|
- License: MIT
|
|
|
|
## GitHub Pages
|
|
|
|
The **Pages** workflow tests the source, builds the static website and installer
|
|
package, and deploys `_site` from `main`. Repository Settings → Pages must use
|
|
**GitHub Actions** as the source. Run the workflow manually to redeploy the
|
|
current version without a source change.
|
|
|
|
Only the built `_site` directory is published. Do not enable branch publishing
|
|
from the repository root, where `setup.sh` is the local source installer.
|
|
|
|
## Build and inspect locally
|
|
|
|
```bash
|
|
python3 -m unittest discover -s tests -v
|
|
python3 scripts/build_site.py
|
|
python3 -m http.server 8000 --directory _site
|
|
```
|
|
|
|
The build creates a content-addressed payload, embedded-checksum bootstrap,
|
|
`release.json` and a checksum list under `_site/downloads`. The payload uses an
|
|
explicit source allowlist, normalized metadata and reproducible compression.
|
|
Public demo data is fictional and uses documentation-only IP addresses.
|
|
|
|
No live server deployment records or captured production outputs belong in
|
|
this repository. Sanitize screenshots and examples before committing them.
|
|
Use a GitHub no-reply commit email to keep your personal email private.
|
|
|
|
## Releases
|
|
|
|
Update `VERSION` and `CHANGELOG.md`, run tests, and push to `main` to redeploy.
|
|
Previously downloaded bootstrap scripts refer to their exact package; after a
|
|
later site deployment replaces that package, fetch a fresh bootstrap. A missing
|
|
old package fails safely rather than silently installing another version.
|
|
|
|
## Forks and custom domains
|
|
|
|
For another account or repository, update links in the README and `site/`.
|
|
The workflow passes its own account/repository URL to `scripts/build_site.py`.
|
|
For a custom domain, change the workflow's `SITE_URL` and the website's
|
|
`BASE_URL` in `site/app.js` together.
|
|
|
|
The landing page has no external fonts, analytics, trackers or runtime assets.
|
|
Its customization form only changes a local preview and generated command.
|