I'm trying to run discourse app locally in production env without docker

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.

3 Likes

Thanks for your quick response.

So for production we need to go with docker ?

2 Likes

you can do what you feel like, but getting support for other setups is going to be tricky unless you want to pay someone :slight_smile:

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.

2 Likes