Skip to content

Add dev containers and GitHub Actions CI/CD setup - #12

Open
jwaldrip wants to merge 1 commit into
masterfrom
claude/prepare-deployment-011CUK8EfZS8krvhwVUByjmi
Open

Add dev containers and GitHub Actions CI/CD setup#12
jwaldrip wants to merge 1 commit into
masterfrom
claude/prepare-deployment-011CUK8EfZS8krvhwVUByjmi

Conversation

@jwaldrip

Copy link
Copy Markdown
Member

Dev Container Setup

  • Add comprehensive VS Code dev container configuration
  • Create Dockerfile with Crystal 1.8.1, PostgreSQL client, Redis CLI
  • Configure docker-compose with PostgreSQL 15 and Redis 7 services
  • Add post-create script for automated setup and migrations
  • Create detailed dev container README with troubleshooting guide
  • Add VS Code tasks for common operations (build, test, format, etc.)
  • Add VS Code launch configurations for debugging
  • Configure non-root user (vscode) with sudo access and zsh shell

GitHub Actions Setup

  • Add CI workflow for automated testing and building
    • Run tests with PostgreSQL and Redis services
    • Check code formatting with Crystal formatter
    • Run Ameba linter (if available)
    • Build Docker images for web and job_runner
    • Cache dependencies for faster builds
  • Add Railway deployment workflow for CD
    • Auto-deploy on push to main branch
    • Support manual workflow dispatch
  • Add Dependabot configuration
    • Weekly updates for GitHub Actions
    • Weekly updates for Docker images
    • Weekly updates for dev container images

Project Templates

  • Add pull request template with comprehensive checklist
  • Add bug report issue template
  • Add feature request issue template
  • Create GitHub Actions setup documentation

Documentation Updates

  • Update main README with:
    • CI/CD status badges
    • Dev container quick start guide
    • Railway deployment section
    • GitHub Actions overview
  • Add .env.example for environment variable reference
  • Update .gitignore to exclude .env files

Developer Experience Improvements

  • One-command dev environment setup via dev containers
  • Automated database migrations on container creation
  • Pre-configured VS Code extensions and settings
  • Integrated debugging support
  • Automated CI/CD pipeline
  • Dependency update automation

This setup enables contributors to get started in minutes and ensures code quality through automated testing and linting on every PR.

🤖 Generated with Claude Code

## Dev Container Setup
- Add comprehensive VS Code dev container configuration
- Create Dockerfile with Crystal 1.8.1, PostgreSQL client, Redis CLI
- Configure docker-compose with PostgreSQL 15 and Redis 7 services
- Add post-create script for automated setup and migrations
- Create detailed dev container README with troubleshooting guide
- Add VS Code tasks for common operations (build, test, format, etc.)
- Add VS Code launch configurations for debugging
- Configure non-root user (vscode) with sudo access and zsh shell

## GitHub Actions Setup
- Add CI workflow for automated testing and building
  - Run tests with PostgreSQL and Redis services
  - Check code formatting with Crystal formatter
  - Run Ameba linter (if available)
  - Build Docker images for web and job_runner
  - Cache dependencies for faster builds
- Add Railway deployment workflow for CD
  - Auto-deploy on push to main branch
  - Support manual workflow dispatch
- Add Dependabot configuration
  - Weekly updates for GitHub Actions
  - Weekly updates for Docker images
  - Weekly updates for dev container images

## Project Templates
- Add pull request template with comprehensive checklist
- Add bug report issue template
- Add feature request issue template
- Create GitHub Actions setup documentation

## Documentation Updates
- Update main README with:
  - CI/CD status badges
  - Dev container quick start guide
  - Railway deployment section
  - GitHub Actions overview
- Add .env.example for environment variable reference
- Update .gitignore to exclude .env files

## Developer Experience Improvements
- One-command dev environment setup via dev containers
- Automated database migrations on container creation
- Pre-configured VS Code extensions and settings
- Integrated debugging support
- Automated CI/CD pipeline
- Dependency update automation

This setup enables contributors to get started in minutes and ensures
code quality through automated testing and linting on every PR.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants