This project hosts the documentation and website for the OnRabble Chat platform.
/
├── chatserver/ # Pulled from daftpy/OpenRabbleServer using git checkout
├── main/ # Astro-based site
├── public/ # QDoc client documentation
├── Dockerfile # Caddy server for site/docs
├── docker-compose.yml
├── restart-docs.sh # Pulls latest docs, builds, and restarts services
To fetch the latest chatserver/, build the site, and restart Docker services:
./restart-docs.shThis will:
- Pull the latest
chatserver/folder from the public upstream repo - Run
npm run buildinsidemain/ - Rebuild and restart Docker containers
- Docker
- Node.js + npm
- Git 2.25+
mkdir onrabble_docs && cd onrabble_docs
git clone https://github.com/daftpy/onrabble_docs.git .
# Optional safety: ensure chatserver is ignored
echo "chatserver/" >> .gitignore
# Link the upstream repo that owns the chatserver source
git remote add chatserver-upstream https://github.com/daftpy/OpenRabbleServer.git
# Pull in just the chatserver folder
git fetch chatserver-upstream
git checkout chatserver-upstream/main -- chatserverThis ensures chatserver/ is available locally without tracking it in your own repo.
The .gitignore rule (chatserver/) keeps it out of your commits.
You can fetch the latest version at any time by running:
git fetch chatserver-upstream
git checkout chatserver-upstream/main -- chatserverThis fetches the latest version of chatserver/ from the upstream repo,
without merging or modifying any of your tracked files.