cargo-bloom-web 0.1.0

A CLI tool for initializing Bloom web applications with Docker support
# cargo-bloom-web


A CLI tool for quickly initializing Bloom web applications with optional Docker and MySQL database support.

## Installation


Install via Cargo:

```bash
cargo install cargo-bloom-web
```

## Usage


### Initialize a new Bloom project


```bash
cargo bloom-web init
```

or simply:

```bash
cargo init
```

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


```bash
cargo bloom-web 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


1. Install the CLI tool: `cargo install cargo-bloom-web`
2. Create a new project: `cargo bloom-web init`
3. Navigate to the project: `cd bloom-app`
4. Start development: `docker compose up bloom-app-dev --build`

## Repository


- Framework: [Bloom]https://github.com/matusmesko/Bloom
- Template: [bloom-initializr]https://github.com/matusmesko/bloom-initializr

## License


Licensed under either of

- Apache License, Version 2.0
- MIT license

at your option.