Setting up Discourse for local development is not easy, especially if we don’t know Ruby on Rails (The framework that powers Discourse). I found this guide helpful. It contains every necessary step:
Update 24/05/2024! Setting up Discourse for Local Development on Mac. (Tested on M1 chip - macOS Sonoma 14.4.1)
You’ll also need to install the Docuss plug-in to connect Discourse to our React/Meteor app
If you need any other plugins, or want to install them all right away so your platform operates exactly as the live one here’s a full list of plugins. Only Docuss operates directly on the ReactJS/MeteorJS. Others may interact with the i-frame window it loads in (toolbars and floating footers).
You can also find detailed instructions for setting up discourse on MacOS:
and on Windows:
A heads up for Mac users: one of the biggest hurdles you might encounter is that MacOS makes it difficult to update ruby (and you’ll need <= 2.7 to run discourse). Here’s a very useful and instructive guide on how to update ruby on MacOS: