קורס Discourse או RoR

סיכום מבוסס בינה מלאכותית

In a discussion titled “Discourse or RoR Course” under the Installation category, anjanesh asks about installing Discourse on a self-hosted server and whether learning Ruby on Rails (RoR) is necessary for editing templates. merefield clarifies that while Rails powers the API, most front-end templating is handled by EmberJS, as Discourse is a Single Page Application. They note that beginners don’t need to dive deep into Rails immediately — many customizations can be done via the admin dashboard or theme components. anjanesh confirms understanding: EmberJS for front-end templates, Ruby for plugins. merefield adds that Theme Components are for front-end edits, while Plugins handle back-end (and optionally front-end) customization, pointing to #howto:devs and Development for more resources. Finally, anjanesh thanks merefield for sharing the installation guide, noting it’s helpful for their shared hosting setup without root access, and plans to involve their hosting provider.

  1. Is there some tutorial on how to go about installing Discourse on a self-hosted server ?
  2. Is it important to get the hang of RoR to edit templates etc ?

Are you looking for the standard install?

Rails is involved but the templates are more often a EmberJS artefact in the Discourse codebase as it’s a Single Page Application.

It’s unnecessary to get into the weeds to begin with though. You can edit a lot of the in app text in the admin dashboard and many other ready baked customisation options in Customization > Theme

Ok, so Rails is used just to server the API and Ember JS is used for the SPA ? That’s good to know.
So to edit the templates its Ember and to create plugins, its Ruby ?

Theme Conponents if you just want to edit the front end, Plugins if you want to customise the back end (and FE if you need)

A lot of material in #howto:devs and Development

This link you’ve shared (discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub) is superb - I can direct my hosting company to help me out on this as its a shared hosting account, so no root. Thanks again.