Cookbook¶
Practical, real-world examples and recipes for packaging applications with FlavorPack.
What's in the Cookbook?¶
The cookbook contains two types of content:
๐ Examples¶
Complete, working examples of packaging different types of applications. Each example includes full source code, configuration, and step-by-step instructions.
๐งช Recipes¶
Short, focused how-to guides for specific integration scenarios and workflows.
Examples¶
CLI Tools¶
Package command-line applications and utilities.
Learn how to package: - Click-based CLI tools - Argument parsing - Multi-command applications - Distribution and installation
Web Applications¶
Package FastAPI, Flask, and other web applications.
Learn how to package: - FastAPI APIs - Flask web apps - Static file handling - Production deployment
Recipes¶
Docker Integration¶
Use FlavorPack packages in Docker containers.
Learn about: - Minimal Docker images - Multi-stage builds - Volume mounts - Docker Compose
CI/CD Pipelines¶
Automate packaging in CI/CD.
Learn about: - GitHub Actions - GitLab CI - CircleCI - Artifact management
Quick Navigation¶
By Application Type¶
- CLI Tools โ CLI Example
- Web APIs โ Web App Example
- Terraform Providers โ Pyvider Integration
By Integration¶
- Docker โ Docker Recipe
- CI/CD โ CI/CD Recipe
- wrknv โ wrknv Integration
By Use Case¶
- Development โ Testing Guide
- Production โ Docker Recipe
- Distribution โ CI/CD Recipe
Contributing Examples¶
Have a great example or recipe? We'd love to include it!
- Create your example with complete code
- Test it thoroughly
- Submit a pull request
- Include clear documentation
See Contributing Guide for details.
Example Template¶
Each example follows this structure:
# Example Title
## Overview
What this example demonstrates
## Prerequisites
What you need before starting
## Step 1: Create Application
Source code for the application
## Step 2: Configure Packaging
Manifest and configuration files
## Step 3: Build Package
Build commands and output
## Step 4: Test & Deploy
Testing and deployment steps
## Troubleshooting
Common issues and solutions
## Next Steps
Related examples and topics
Need Help?¶
- ๐ Check the User Guide
- ๐ Search the documentation
- ๐ฌ Ask in Community Support
- ๐ Report issues on GitHub
Ready to start? Try the CLI Tools Example or Web Applications Example.