-
|
I like dawarich, it is fun to see my historic location in a new light. I also upgraded my synology with a little RAM because Rails is happier this way. Any webapp would be :-) Another performance-improvement I always like in rails-apps is the ability to cache the classes and compiled templates. This happens by default in the RAILS_ENV production. Up until the switch vom Redis to the SQLite3-backed queues, this ran fine. For error-reporting I attach sentry or glitchip anyway, so the logs are not my primary insight location. Everything went fine and even my underpowered, but overrammed NAS can render things quickly. Since the switch I need to run the app in development, which is inherently slower. Not a total show-stopper, but I run rails for a living, so this hurts a little :-) I still like the app, therefore: Is there support planned for running this in prod-mode? Even if most people are better off (with regards to bug-reporting and such) in dev-mode, is this a possibility? I have no problem digging into this, but I want to clarify the plans around this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Starting 0.27.0 I think Dawarich uses production caching in the development mode thanks to this: https://github.com/Freika/dawarich/blob/dev/docker/Dockerfile.dev#L60 and this: https://github.com/Freika/dawarich/blob/dev/config/environments/development.rb#L32-L38 Currently I have no plans to actively support production mode as I'm focused on other things. |
Beta Was this translation helpful? Give feedback.
I don't want to encourage people to run Dawarich in production mode for the reasons I provided, at least as of now. But thank you for your suggestion!