APIExtensionsDeveloperUserReleasesDemoSupport
  • Getting Started

    • Installation
    • Understanding Spree
  • Internals

    • Stores
    • Orders
    • Products
    • Payments
    • Shipments
    • Inventory
    • Promotions
    • Adjustments
    • Taxation
    • Calculators
    • Addresses
    • Preferences
  • Customization

    • Storefront
    • Templates
    • Assets (JS & CSS)
    • Images
    • Dependency system
    • Business Logic
    • Checkout Flow
    • Permissions
    • API v2
    • API v1
    • Authentication
    • Internationalization
    • Extensions
    • Emails
  • Advanced

    • Add Spree to an existing Ruby on Rails application
    • Improve SEO
    • Deface Overrides
    • Extend Product Attributes
    • Testing Spree Applications
  • Deployment

    • Amazon Web Services (AWS)
    • Heroku
  • Security

    • PCI Compliance
    • Authentication and Authorization
    • API
  • Contributing

    • Developing Spree
    • Creating an Extension
    • Updating Extensions for Spree 4
  • Upgrades

    • Upgrading Spree 4.1 to 4.2
    • Upgrading Spree 4.0 to 4.1
    • Upgrading Spree 3.7 to 4.0
    • Upgrading Spree from 3.6 to 3.7
    • Upgrading Spree from 3.5 to 3.6
    • Upgrading Spree from 3.4 to 3.5
    • Upgrading Spree from 3.3 to 3.4
    • Upgrading Spree from 3.2 to 3.3
    • Upgrading Spree from 3.1 to 3.2
    • Upgrading Spree from 3.0 to 3.1

Table Of Contents

OverviewDynosRecommended sizingAdd-OnsRecommended Add-Ons and plansOther resources

Heroku

Overview

Heroku is a Platform as a Service that makes deploying and hosting Spree applications super easy.

You should just follow Heroku Rails 6 guide.

We recommend you start and stick to Heroku if you do not have DevOps-skilled team members. Spree Starter is pre-configured to work with Heroku out of the box.

Dynos

Heroku Dynos are lightweight, isolated environments that provide compute and run yuor application.

There’s 2 type of dynos:

  • Web - for running the web interface of yuour Store (Storefront, API, Admin Panel)
  • Worker - for running background jobs via Active Job such as email send out, report generation, etc

Recommended sizing

DynosStaging environmentProduction environment
web1 x Standard-2x1 x Standard-2x (small traffic) or 1 x Performance-M (medium traffic)
worker1 x Standard-1x1 x Standard-1x

Add-Ons

Heroku Add-Ons are tools and services for developing, extending, and operating your app.

Recommended Add-Ons and plans

PlanStaging environmentProduction environment
BucketeerHobbyistMicro
EdgeHobbyMicro
Heroku PostgresHobby BasicStandard-0
Heroku SchedulerN/AN/A
Memcached CloudFree100 MB
PapertrailChokladFixa
Redis CloudFree100 MB
Scout APMFreeFree (small traffic) or Eldora (medium traffic)
SendgridFreeBronze
SentryFreeSmall

Other resources

  • https://devcenter.heroku.com/categories/reference
  • https://devcenter.heroku.com/articles/getting-started-with-rails6
  • https://devcenter.heroku.com/categories/monitoring-metrics
  • https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server
Propose changes to this page
Maintained bySpree Commerce & Ruby on Rails developers© Spree Commerce. 2021 All Rights Reserved.