Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gem 'pretender'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
gem 'redis', '~> 4.0'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ GEM
execjs
railties (>= 3.2)
tilt
redis (4.8.1)
regexp_parser (2.8.0)
responders (3.1.0)
actionpack (>= 5.2)
Expand Down Expand Up @@ -385,6 +386,7 @@ DEPENDENCIES
puma (~> 4.1)
rails (~> 6.1)
react-rails
redis (~> 4.0)
rubocop-rails
rubyzip
selenium-webdriver
Expand Down
12 changes: 6 additions & 6 deletions config/cable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# test:
# adapter: test
#
# production:
# adapter: redis
# url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
# channel_prefix: hourglass_production

production:
adapter: postgresql
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: hourglass_production

# production:
# adapter: postgresql

development:
adapter: postgresql
Expand Down