Manage a 12-factor app charm

These guides walk you through all ways you can manage 12-factor app charms, from initialization to usage.

Extensions add customized elements to a charm for specific web app frameworks. While the overall basic logic is the same as managing a charm, the following guides are about the 12-factor app charm workflow.

Initialization

You will need a rock for your 12-factor app charm. Prepare a 12-factor app rock with Rockcraft.

Once you have a rock, use charmcraft init and specify the relevant profile:

charmcraft init --profile django-framework

Charmcraft automatically creates a charmcraft.yaml project file, a requirements.txt file and source code for the charm in your current directory. You will need to check the project file and README.md to verify that the charm’s name and description are correct.

Configuration

Once your 12-factor app charm has been set up, you can customize many aspects of it using Juju.

Integration

Once deployed, your 12-factor app can be integrated into nearly anything in the Juju ecosystem.

Usage

Now that you’ve initialized and configured your 12-factor app charm, you’re ready to use it.