30-Jan-2026 — Environment-setup: automated environment creation and CLI enhancements #146

build 452commit b330b7b


New Features for Users:

Environment Setup (Web UI)

The new Environment Setup page (Admin > Environment Setup) allows administrators to create complete NGX-Ramblers environments for new Ramblers walking groups through a guided wizard:

  1. Enter your Ramblers API key and select your walking group
  2. Configure external services (MongoDB, AWS, Brevo email, maps)
  3. Set up an admin user account
  4. Deploy to fly.io with one click

The wizard handles all infrastructure provisioning automatically including:

Command Line Interface (CLI)

A new CLI tool is available for power users and automation. See the full reference guide at: Admin > How-To > Technical Documents > "NGX Ramblers CLI Reference Guide"

Quick start:

npm run cli -- <command>           # Run from project root
npm link && ngx-cli <command>      # Or install globally (optional)

Common commands:

ngx-cli l dev my-group             # Start local development
ngx-cli l list                     # List available environments
ngx-cli db seed my-group --fresh   # Fresh database seed with migrations
ngx-cli db seed my-group --sync    # Seed and sync walks from Ramblers API
ngx-cli f deploy my-group          # Deploy to fly.io
ngx-cli des my-group               # Destroy environment completely
ngx-cli bak create my-group        # Backup an environment
ngx-cli bak restore my-group       # Restore from backup

Interactive mode: Run commands without arguments to get a selection menu. Use arrow keys to navigate, ESC to go back, q to quit.

Technical Changes:

CLI Implementation:

Database & Migrations:

Environment Setup Service: