-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off redis dependency in development mode #6389
Comments
Thanks for opening your first issue! This space is protected by our Code of Conduct - and we're here to help. |
Currently action cable is dependent on Redis. I believe you can use different adaptors but making the application less prod-like in development sounds risky. You can run this locally after installing redis by running After Redis is running locally run sidekiq People have bought this up before #2779 |
Thank you for the clarification and the link to #2779!
Is this reflected in the Readme? If not, perhaps we could do that, and then
close this up?
Another option is to research a "mock" redis, which could allow running
locally while not needing to install Redis, but it depends on the balance
of how easy it is to install for newcomers vs. how useful it is in
development. Thanks!!!
…On Thu, Oct 3, 2019 at 10:25 PM Matthew Dawson ***@***.***> wrote:
Currently action cable is dependent on Redis. I believe you can use
different adaptors but making the application less prod-like in development
sounds risky.
You can run this locally after installing redis by running bundle exec
sidekiq
On mac you can use brew to install redis through brew install redis, then
run brew services start redis.
After Redis is running locally run sidekiq bundle exec sidekiq.
People have bought this up before #2779
<#2779>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6389?email_source=notifications&email_token=AAAF6J4E7NQEKAC53A7CKVDQM2SQ5A5CNFSM4I5KIE7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAKE3FY#issuecomment-538201495>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J5C6VEZAWTMFXZ2IIDQM2SQ5ANCNFSM4I5KIE7A>
.
|
Right now in development mode we get a redis error on certain actions. The one I got today was
Redis::CannotConnectError in AdminController#publish
It would be great if we could turn off the dependency in development!
The text was updated successfully, but these errors were encountered: