cargo-bloom-web-0.1.0 is not a library.
cargo-bloom-web
A CLI tool for quickly initializing Bloom web applications with optional Docker and MySQL database support.
Installation
Install via Cargo:
Usage
Initialize a new Bloom project
or simply:
This will:
- Clone the Bloom framework template
- Optionally set up Docker configuration (production + development)
- Optionally configure MySQL database with Docker
- Create all necessary Docker files and configurations
Check version
Features
- 🚀 Quick project initialization
- 🐳 Docker support with production and development configurations
- 🗄️ Optional MySQL database setup
- 📦 Hot reloading for development
- ⚡ Optimized production builds
- 🎯 Interactive CLI with arrow key navigation
Docker Services
When Docker is enabled, the following services are created:
- bloom-app - Production service with optimized build
- bloom-app-dev - Development service with hot reloading
- mysql - MySQL 8.0 database (if database option is selected)
Quick Start
- Install the CLI tool:
cargo install cargo-bloom-web - Create a new project:
cargo bloom-web init - Navigate to the project:
cd bloom-app - Start development:
docker compose up bloom-app-dev --build
Repository
- Framework: Bloom
- Template: bloom-initializr
License
Licensed under either of
- Apache License, Version 2.0
- MIT license
at your option.