Renamed from Boilerplate to CleverClaude
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Boilerplate
|
||||
# CleverClaude
|
||||
|
||||
[](https://git.cleverthis.com/cleverthis/base/base-python/actions)
|
||||
[](https://www.python.org/downloads/)
|
||||
@@ -216,7 +216,7 @@ claude
|
||||
# Then in Claude Code:
|
||||
%%tool ruff ruff_check path="src/"
|
||||
%%tool tests run_tests framework="behave" command="nox -s behave"
|
||||
%%tool forgejo create_pull_request repo="boilerplate" title="feat: new feature"
|
||||
%%tool forgejo create_pull_request repo="cleverclaude" title="feat: new feature"
|
||||
```
|
||||
|
||||
#### Infrastructure Management
|
||||
@@ -760,7 +760,7 @@ This project uses **Behavior-Driven Development (BDD)** with comprehensive fuzzi
|
||||
# features/cli.feature
|
||||
Feature: Command-line greeting interface
|
||||
Scenario: Default greeting
|
||||
When I run "python -m boilerplate"
|
||||
When I run "python -m cleverclaude"
|
||||
Then the exit code should be 0
|
||||
And the output should contain "Hello, World!"
|
||||
|
||||
@@ -782,20 +782,20 @@ Feature: Command-line greeting interface
|
||||
|
||||
```bash
|
||||
# Build development image
|
||||
docker build -t boilerplate:dev .
|
||||
docker build -t cleverclaude:dev .
|
||||
|
||||
# Run interactively
|
||||
docker run --rm -it boilerplate:dev bash
|
||||
docker run --rm -it cleverclaude:dev bash
|
||||
|
||||
# Run CLI
|
||||
docker run --rm boilerplate:dev --name "Docker" --count 3
|
||||
docker run --rm cleverclaude:dev --name "Docker" --count 3
|
||||
```
|
||||
|
||||
### Production
|
||||
|
||||
```bash
|
||||
# Build optimized production image
|
||||
docker build -t boilerplate:latest .
|
||||
docker build -t cleverclaude:latest .
|
||||
|
||||
# Run with resource limits
|
||||
docker run --rm \
|
||||
@@ -803,12 +803,12 @@ docker run --rm \
|
||||
--cpus=0.5 \
|
||||
--read-only \
|
||||
--user=1000 \
|
||||
boilerplate:latest --help
|
||||
cleverclaude:latest --help
|
||||
|
||||
# Multi-platform build
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
-t ghcr.io/cleverthis/boilerplate:latest \
|
||||
-t ghcr.io/cleverthis/cleverclaude:latest \
|
||||
--push .
|
||||
```
|
||||
|
||||
@@ -824,10 +824,10 @@ docker buildx build \
|
||||
|
||||
```bash
|
||||
# Deploy with default configuration
|
||||
helm install boilerplate ./k8s
|
||||
helm install cleverclaude ./k8s
|
||||
|
||||
# Deploy with custom values
|
||||
helm install boilerplate ./k8s \
|
||||
helm install cleverclaude ./k8s \
|
||||
--set image.tag=v0.2.0 \
|
||||
--set replicaCount=3 \
|
||||
--set resources.limits.memory=512Mi
|
||||
@@ -869,7 +869,7 @@ ingress:
|
||||
|
||||
```bash
|
||||
# Deploy to production
|
||||
helm upgrade --install boilerplate ./k8s \
|
||||
helm upgrade --install cleverclaude ./k8s \
|
||||
-f values-production.yaml \
|
||||
--namespace production \
|
||||
--create-namespace \
|
||||
@@ -1009,8 +1009,8 @@ mike set-default latest # Set default version
|
||||
## 📁 Project Structure
|
||||
|
||||
```
|
||||
boilerplate/
|
||||
├── src/boilerplate/ # 📦 Source code
|
||||
cleverclaude/
|
||||
├── src/cleverclaude/ # 📦 Source code
|
||||
│ ├── __init__.py # Package initialization
|
||||
│ ├── __main__.py # Entry point for python -m
|
||||
│ └── cli.py # Command-line interface
|
||||
@@ -1091,7 +1091,7 @@ pyright # Type checking (5x faster than mypy)
|
||||
```gherkin
|
||||
# BDD scenarios serve as living documentation
|
||||
Scenario: Custom name greeting
|
||||
When I run "python -m boilerplate --name Alice"
|
||||
When I run "python -m cleverclaude --name Alice"
|
||||
Then the exit code should be 0
|
||||
And the output should contain "Hello, Alice!"
|
||||
|
||||
@@ -1173,7 +1173,7 @@ echo $GRAFANA_API_TOKEN
|
||||
docker builder prune
|
||||
|
||||
# Build with no cache
|
||||
docker build --no-cache -t boilerplate:latest .
|
||||
docker build --no-cache -t cleverclaude:latest .
|
||||
|
||||
# Check multi-platform support
|
||||
docker buildx ls
|
||||
@@ -1251,7 +1251,7 @@ nox -s behave -- --processes 4
|
||||
|
||||
### Complete Documentation
|
||||
|
||||
Visit **https://cleverthis.github.io/boilerplate** for:
|
||||
Visit **https://cleverthis.github.io/cleverclaude** for:
|
||||
|
||||
- 📋 **Getting Started Guide**
|
||||
- 🐳 **Development Container Setup**
|
||||
@@ -1299,7 +1299,7 @@ git checkout -b feature/awesome-feature
|
||||
claude # Start Claude Code with MCP servers for AI-powered development
|
||||
|
||||
# 5. Implement feature
|
||||
# Edit src/boilerplate/cli.py
|
||||
# Edit src/cleverclaude/cli.py
|
||||
|
||||
# 6. Run tests
|
||||
nox -s behave
|
||||
|
||||
Reference in New Issue
Block a user