• Stefy Lanza (nextime / spora )'s avatar
    township: auto-load mapped township_config.json in the bundled launcher · fadc340d
    Stefy Lanza (nextime / spora ) authored
    The bundled township tool (supervisord [program:township]) launched without
    -c/--config, so a township_config.json bind-mounted via --map into
    /cache/township_output was never read — the web UI came up with blank API key /
    league upload credentials / options every restart.
    
    * supervisord: pass --config /cache/township_output/township_config.json so a
      mapped config auto-loads. Map the bare-metal dir with
        coderai-docker --map /path/to/township_output:/cache/township_output
      and the saved settings + credentials come up automatically.
    * gen_township_fighters.py: a MISSING --config file is no longer fatal (fresh
      install with no mapped dir) — fall back to defaults and start normally; a
      malformed config still errors. The web UI's Save already writes back to
      <out-dir>/township_config.json, so first-run saves persist into the mapped dir.
    
    Bump version to 0.1.4.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01RdMufYvtTbtGDWsiZVoXce
    fadc340d
Name
Last commit
Last update
..
admin Loading commit data...
api Loading commit data...
backends Loading commit data...
broker Loading commit data...
frontproxy Loading commit data...
models Loading commit data...
openai Loading commit data...
pydantic Loading commit data...
queue Loading commit data...
tasks Loading commit data...
__init__.py Loading commit data...
cli.py Loading commit data...
config.py Loading commit data...
main.py Loading commit data...
platform_paths.py Loading commit data...
system_app.py Loading commit data...