Initialize a 12-factor app charm

Prepare an OCI image for a 12-factor app charm

Prepare a rock for a 12-factor app charm with Rockcraft.

Prepare a 12-factor app charm

Use charmcraft init and specify the relevant profile:

charmcraft init --profile <profile>

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.

See also: init

charmcraft init --profile flask-framework