Databases

Jumpstart Pro uses PostgreSQL and Redis to run your application.

PostgreSQL

Our primary database in Jumpstart Pro is PostgreSQL. It has fantastic support for json columns that we take advantage of in several places and can be extended with things like PostGIS for geospatial functionality.

While we don't recommend or support this, if you really want to use a different database, you can use Rails 6's new db:system:change command, but you'll probably need to edit migrations and the code accordingly. Be warned.

rails db:system:change --to=mysql

Redis

Redis comes in handy for many things, several of which we pre-configure for you in Jumpstart Pro.

Action Cable uses Redis as the backend by default. If you want any realtime functionality, you'll need to make sure Redis is installed and running. If you wish to change this, you can edit config/cable.yml

We're also using Redis as the cache store for Rails. If you'd like to switch to Memcached or something else, you can edit each of the environments configs and change the cache_store

Sidekiq also depends upon Redis for storing jobs, if you're using Sidekiq for background processing.

© 2019 GoRails, LLC