Charm for flask web application?

Is there anyone that knows about a simple, generic charm that deploys a python "flask application from pypi AND/OR a local repo?

1 Like

Thanks, we need the deployment for a Flask web application.

1 Like

I’m asking around but I’ve not found anyone yet. In searching the store the one I see is:

That’s an outdated charm but might make a good kick off point. It feels like an opportunity to try out the new operator framework! :slight_smile:

@zengyuw use this https://github.com/erik78se/charm-microsample as an example.

It’s introducing one extra element which is ‘snap’ but it is probably needed.

The snap takes care of the starting/stopping and configuration inside the snap. The snapcraft.yaml file + setup.py plays together with the charm.

2 Likes