Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/desktop-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1170,12 +1170,11 @@ jobs:
echo "Beta channel manifest did not converge to ${CANDIDATE_VERSION}." >&2
exit 1

# Nudge the openbitfun.com mirror to sync now instead of on its next
# 10-minute cron tick. Until the mirror has these bytes, CN clients have
# Nudge the configured download mirror to sync now instead of on its next
# 10-minute cron tick. Until the mirror has these bytes, clients have
# only the GitHub origin to fall back to. Best effort: the cron run is
# still the source of truth, so a failed or unconfigured ping never fails
# the release. Receiver: scripts/openbitfun-release-sync.sh.
# Host restore: deploy/openbitfun-host/README.md.
- name: Request openbitfun mirror sync
if: github.repository == 'GCWing/OpenBitFun'
continue-on-error: true
Expand Down
28 changes: 20 additions & 8 deletions deploy/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
# Deploy runbooks
# Deployment references

Production origin restore and product deploys for the current OpenBitFun host
(`ssh lwb`).
Community self-hosting references for OpenBitFun. The official hosted services
are operated separately; their configuration and access details are not
published in this repository.

Each guide uses placeholder hosts, domains, and paths. Replace them with your
own environment before running commands.

| Directory | Use |
| --- | --- |
| [openbitfun-host/](openbitfun-host/README.md) | New-host restore: website, release mirror, Relay Nginx, New API boundary |
| [miniapp-market/](miniapp-market/README.md) | MiniApp market only |
| [skin-market/](skin-market/README.md) | Skin market only |
| [market-data-migration/](market-data-migration/README.md) | Legacy market data migration tooling |
| [miniapp-market/](miniapp-market/README.md) | MiniApp market |
| [skin-market/](skin-market/README.md) | Skin market |
| [relay-v1/](relay-v1/README.md) | Versioned Relay deployment |
| [outbound-mail/](outbound-mail/README.md) | Send-only Postfix/OpenDKIM: auth integration, DNS, maintenance and rollback |
| [model-router/](model-router/README.md) | Client-side router launcher and system prompt |

Component source guides:

- Relay: [`src/apps/relay-server/README.md`](../src/apps/relay-server/README.md)
- MiniApp market server: [`src/apps/miniapp-market-server/README.md`](../src/apps/miniapp-market-server/README.md)
- Skin market service: [`src/crates/services/skin-market-service/README.md`](../src/crates/services/skin-market-service/README.md)

An Agent that is asked to move or rebuild the server starts at
`openbitfun-host/AGENTS.md`.
For deployment changes, read the relevant component guide and keep every
example hostname, path, and credential as a placeholder.
12 changes: 12 additions & 0 deletions deploy/market-data-migration/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Legacy market data migration

This directory holds community self-hosting tooling for migrating pre-rename
market data. Read [README.md](README.md) before changing the migration script.

- Never commit real hostnames, SSH aliases, credentials, tokens, certificates,
production data, or other operational secrets.
- Examples use placeholder domains and paths. Keep them generic.
- Back up data with the SQLite backup API and verify integrity before running a
migration. Do not use destructive Git commands to force a deployment.
- MiniApp and Skin markets have their own runbooks. Do not mix their checkouts,
secrets, or Compose projects.
31 changes: 31 additions & 0 deletions deploy/market-data-migration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Legacy market data migration

This directory contains one-time migration tooling for pre-rename MiniApp and
Skin market data. It does not describe the official hosted service, and no
official hostnames, SSH aliases, credentials, or production data belong here.

## What is here

| Path | Purpose |
| --- | --- |
| `migrate-market-data-v1.py` | One-time data migration for pre-rename market data |
| `test_migrate_market_data_v1.py` | Tests for the migration tool |

[`migrate-market-data-v1.py`](migrate-market-data-v1.py) refuses to run against
the live database when `--live-database` points at the same path. Work on a
copy, keep the original, and verify SQLite `integrity_check` plus package
checksums before switching traffic.

Run the tests before modifying it:

```bash
python3 -m unittest test_migrate_market_data_v1.py
```

## Related guides

- MiniApp market: [`../miniapp-market/README.md`](../miniapp-market/README.md)
- Skin market: [`../skin-market/README.md`](../skin-market/README.md)
- Relay: [`../relay-v1/README.md`](../relay-v1/README.md) and
[`../../src/apps/relay-server/README.md`](../../src/apps/relay-server/README.md)
- Outbound mail: [`../outbound-mail/README.md`](../outbound-mail/README.md)
Loading
Loading