Introduction
Thedjango_superapp CLI is a command-line tool for bootstrapping and managing Django SuperApp projects and applications. It provides commands to create new projects, add apps, and synchronize templates with remote repositories.
Installation
The CLI is installed automatically when you install thedjango-superapp package:
django_superapp command will be available in your terminal.
Prerequisites
Some commands require additional tools to be installed:-
GitHub CLI (
gh): Required forpush-templatecommand -
rsync: Required for
push-templatecommand (usually pre-installed on Unix systems)
Available Commands
The django_superapp CLI provides the following commands:bootstrap-project
Create a new SuperApp project from a template repository
bootstrap-app
Create a new app inside an existing SuperApp project
pull-template
Update local project with changes from the remote template
push-template
Push local changes back to the remote template repository
Command Structure
All commands follow the standard CLI pattern:Getting Help
To see all available commands:Common Workflows
Creating a New Project
-
Bootstrap a new project:
-
Navigate to the project:
-
Add apps as needed:
Updating from Template
Keep your project synchronized with template updates:Contributing Changes Back
If you’ve made improvements you want to share:Next Steps
Bootstrap Project
Learn how to create a new SuperApp project
Bootstrap App
Learn how to add apps to your project