Getting an error while running app in locally in production env.
dev/discourse/lib/discourse.rb:551:in
`current_hostname’: uninitialized constant Discourse::SiteSetting (NameError)
Did you mean? Discourse::SiteSettingMissing
from /Users/dev/discourse/config/initializers/100-verify_config.rb:7:in `’
Welcome to Meta.
Normally you’d run a development install locally:
https://meta.discourse.org/tags/intersection/how-to/dev-install
Running Production locally and without docker is not supported.
Thanks for your quick response.
So for production we need to go with docker ?
you can do what you feel like, but getting support for other setups is going to be tricky unless you want to pay someone 
There’s a fun project here using a cloudfare tunnel for running Discourse locally on a raspberry pi, which you might be able to replicate on WSL2 … but both in Docker.
@rishabh thanks for your response.
I see, I’ve setup using docker but, I need to make some changes into rails code so how I can do this for production env?
Build a plugin.
Or if changes are just front end, a theme component.