🦴 rc-init.sh Reference

🧱 rc-init β€” Ritual Bootstrap

The rc-init.sh script creates the skeletal folder structure and placeholder files required for a new Rotkeeper deployment.

This script is typically run once, or when reanimating a collapsed tomb structure. It can be safely run multiple times (idempotent).


πŸ“ What It Creates

It also ensures the following exist: - bones/manifest.txt - render-flags.yaml


πŸ” Behavior


🏁 Flags

- `--help`: print usage text and exit
- `--verbose`: print log entries to terminal
- `--dry-run`: simulate setup without creating files


πŸͺ¦ Limericks



πŸ§ͺ Usage Examples

Run from the root of your Rotkeeper repo:

bash bones/scripts/rc-init.sh

Or invoke through the main dispatcher:

./rotkeeper init

All output is logged to bones/logs/rc-init.log.

Use this at the beginning of any new tomb cycle or prior to reseeding from archive.


πŸ—‚οΈ Folder Layout Preview

rotkeeper/
β”œβ”€β”€ bones/
β”‚   β”œβ”€β”€ archive/
β”‚   β”œβ”€β”€ logs/
β”‚   β”œβ”€β”€ reports/
β”‚   └── templates/
β”œβ”€β”€ home/
β”‚   β”œβ”€β”€ assets/
β”‚   └── content/
β”‚       └── rotkeeper/
β”œβ”€β”€ output/
β”œβ”€β”€ render-flags.yaml
└── bones/manifest.txt

⚠️ Notes & Caveats

Author:

Project: Rotkeeper

Version: v0.2.3-pre

License: