Skip to content
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

Closed
nstjean opened this issue Oct 4, 2019 · 3 comments · Fixed by #6398
Closed

Turn off redis dependency in development mode #6389

nstjean opened this issue Oct 4, 2019 · 3 comments · Fixed by #6398
Labels
feature explains that the issue is to add a new feature

Comments

@nstjean
Copy link
Contributor

nstjean commented Oct 4, 2019

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!

FireShot Capture 001 - Action Controller_ Exception caught - localhost

@nstjean nstjean added the feature explains that the issue is to add a new feature label Oct 4, 2019
@welcome
Copy link

welcome bot commented Oct 4, 2019

Thanks for opening your first issue! This space is protected by our Code of Conduct - and we're here to help.
Please follow the issue template to help us help you 👍🎉😄
If you have screenshots or a gif to share demonstrating the issue, that's really helpful! 📸
Do join our Gitter channel for some brainstorming discussions.

@mathyoudawson
Copy link
Contributor

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

@jywarren
Copy link
Member

jywarren commented Oct 4, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature explains that the issue is to add a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants