spree-deployment

Automates Spree application deployment including Sidekiq, migrations, and asset precompilation for Rails 7+.

4|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/spree/agent-skills --skill spree-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spree-deployment
Source: https://github.com/spree/agent-skills/tree/main/skills/spree-deployment
Command: npx skills add https://github.com/spree/agent-skills --skill spree-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complex and often repetitive process of deploying Spree applications to production environments, ensuring smooth transitions and minimal downtime.

Core Features & Use Cases

  • Environment Configuration: Sets up the necessary environment variables for a robust deployment.
  • Sidekiq Deployment: Configures Sidekiq for background processing and job scheduling.
  • Release Command: Automates database migrations and the upgrade task for Spree applications.
  • Asset Precompile: Ensures assets are properly precompiled for production.
  • Platform-specific Guides: Provides platform-specific deployment instructions for Heroku, Render, Fly.io, Kubernetes, and plain Docker.

Quick Start

Deploy your Spree application to Heroku using the 'spree-deployment' skill.

Frequently Asked Questions about spree-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Spree application to a production environment?

Deploying a Spree application to production requires managing environment configuration, background job processing with Sidekiq, automated database migrations, and asset precompilation to ensure smooth transitions and minimal downtime.

What's the best way to configure Sidekiq for Spree deployment?

Configuring Sidekiq for Spree deployment involves setting up background processing and job scheduling, which requires a stable environment setup with proper database and Redis connections to function correctly in production.

Does spree-deployment work with Rails 7 and Heroku?

Spree deployment supports Rails 7+ applications and provides platform-specific deployment instructions for Heroku, Render, Fly.io, Kubernetes, and plain Docker to ensure proper environment configuration.

How do I automate database migrations and asset precompilation during Spree deployment?

Automating database migrations and asset precompilation during Spree deployment is handled through the release command, which executes database migrations and the upgrade task while ensuring assets are properly precompiled for production.

Why does my Spree deployment require a Redis connection?

Spree deployment requires a stable Redis connection because Sidekiq depends on Redis to manage background job processing and job scheduling within the production environment.