Skip to main content

CLI tools to accelerate Wagtail web development with RhamaaCMS

Project description

Rhamaa CLI

Simple CLI tool for Wagtail CMS development. Create projects and install prebuilt apps instantly.

⚡ Quick Start

# Basic install (CLI only)
pip install rhamaa

# With CMS support (includes Wagtail) - Recommended
pip install "rhamaa[cms]"

# With Computer Vision support
pip install "rhamaa[cv]"

# Create Wagtail project
rhamaa cms start MyProject
cd MyProject

# Create minimal Django app
rhamaa cms startapp blog

# Install prebuilt app
rhamaa cms startapp iot --prebuild mqtt

# List available apps
rhamaa cms startapp --list

🎯 CMS-Focused Commands

rhamaa cms start <project>

Creates new Wagtail project using RhamaaCMS template.

  • --template-url <zip> gunakan URL ZIP kustom
  • --template-file <path> arahkan ke ZIP/direktori lokal
  • --local-dev pakai template di ../RhamaaCMS
  • --list tampilkan katalog template registry

rhamaa cms startapp <name>

Creates Django apps or installs prebuilt apps:

  • --type minimal - Standard Django app (default)
  • --type wagtail - Wagtail app with models/templates
  • --prebuild <key> - Install from registry
  • --list - Show available prebuilt apps

rhamaa cms build-template [source]

Konversi proyek RhamaaCMS hasil eksplorasi kembali menjadi template siap pakai:

  • --slug <name> tentukan slug proyek asli (default: nama folder sumber)
  • --output <zip> nama arsip output (disimpan di dist/)
  • --no-wrap-templates lewati pembungkusan {% verbatim %} pada file HTML
  • --wrap-templates aktif secara default untuk menjaga tag template saat di-render wagtail start

rhamaa cms run

Development and production server management:

  • rhamaa cms run - Start development server
  • rhamaa cms run --prod - Start with Gunicorn
  • rhamaa cms check - Run system checks
  • rhamaa cms status - Show project status

📦 Available Prebuilt Apps

Key Name Category
mqtt MQTT Apps IoT
users User Management Authentication
articles Article System Content

💡 Usage Examples

# Blog project
rhamaa cms start MyBlog
cd MyBlog
rhamaa cms startapp articles --prebuild articles

# IoT dashboard
rhamaa cms start IoTDash
cd IoTDash
rhamaa cms startapp devices --prebuild mqtt

# Educational platform
rhamaa cms start EduSite
cd EduSite
rhamaa cms startapp courses --prebuild lms

# Bootstrapping from custom template sources
rhamaa cms start MyLocal --template-file ./dist/rhamaacms-template.zip
rhamaa cms start Latest --template-url https://example.com/custom-template.zip

# Build template kembali dari proyek lokal
rhamaa cms build-template .

🔧 After Installing Apps

  1. Add to INSTALLED_APPS:
INSTALLED_APPS = [
    # ... existing apps
    'apps.your_app_name',
]
  1. Run migrations:
python manage.py makemigrations
python manage.py migrate

🚀 Features

  • Rich Terminal UI - Beautiful ASCII art and progress bars
  • Auto Directory Structure - Apps created in apps/ folder
  • GitHub Integration - Downloads apps from repositories
  • Force Install - Overwrite existing apps with --force
  • Project Detection - Validates Wagtail project structure

📋 Requirements

  • Python 3.7+
  • Django/Wagtail (for project creation)

🔗 Links


Made with ❤️ by the RhamaaCMS team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhamaa-0.4.2.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rhamaa-0.4.2-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file rhamaa-0.4.2.tar.gz.

File metadata

  • Download URL: rhamaa-0.4.2.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for rhamaa-0.4.2.tar.gz
Algorithm Hash digest
SHA256 6cd4c4def055d3b7238e356085194e889d715ab2ad92d15969ed31ac844abdfd
MD5 67813d74488defddb31488197136150b
BLAKE2b-256 94605bb5c10cb86fb22c961cf6f0bfd3f6141d0e1165c6b6c6ad3d801fd2501d

See more details on using hashes here.

File details

Details for the file rhamaa-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: rhamaa-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for rhamaa-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 90ba7b38c219a35a6fbc19a2219ce045122590f3b9f29181275f3950b4eb4001
MD5 a85fe3b6e9e6f59bb17e3199c26fcb4f
BLAKE2b-256 f6c303a40840c880f9b0f8484101027d0d067a824b43628c74690303784ba5c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page