Ruby JavaScript HTML CSS Shell
Pull request Compare This branch is 329 commits ahead, 18772 commits behind discourse:master.
Latest commit 376e18c Feb 5, 2017 @bennacer860 bennacer860 committed with Update
-The free newrelic `stark` plan does not exist anymore, it has been replace by `wayne`.
-In order to activate your account without going to your email, you can use `u.activate` and then `SiteSetting.site_contact_username = u.username` [here is the thread that talks about it](
Failed to load latest commit information.
app FIX: Email preview with no date caused a server error Jan 6, 2014
chef get rid of cache db, not needed Jan 6, 2014
config Make SMTP authentication mechanism configurable. Jan 6, 2014
db Add default_external_links_in_new_tab site setting Jan 6, 2014
dbs Remove export images from repo until import handles db migrations better Feb 10, 2013
docs Update Feb 5, 2017
images Saved ~46KB through image optimization. Feb 28, 2013
lib there is no need for that much $ Jan 6, 2014
log Initial release of Discourse Feb 5, 2013
packaging/debian Copy default production.rb file. Oct 8, 2013
pg_dumps improve "override default" text in customize Apr 14, 2013
plugins that fix should have been in the emoji plugin Jan 6, 2014
public Support for scrolling to another post in the iframe; more complicated… Jan 6, 2014
script fix typo Jan 6, 2014
spec BUGFIX: hide sensitive site settings Jan 6, 2014
test BUGFIX: clicking on the Logo generates a javascript error Jan 6, 2014
vendor Minor update to ember-renderspeed Jan 6, 2014
.autotest Initial release of Discourse Feb 5, 2013
.env.sample Basic Heroku integration Mar 13, 2013
.gitattributes prevent crlf on yml files Apr 5, 2013
.gitignore ignore bundle in case people bundle standalone Jan 6, 2014
.jshintrc Use the standard .jshintrc file for JSHint options. Jan 6, 2014
.procfile.sample Replace Clockwork with Sidetiq Aug 14, 2013
.rspec Initial release of Discourse Feb 5, 2013
.ruby-gemset.sample rvm has offically depreicated .rvmrc and recommends using .ruby-versi… May 23, 2013
.ruby-version.sample rvm has offically depreicated .rvmrc and recommends using .ruby-versi… May 23, 2013
.travis.yml BUGFIX: bundle exec migrations Jan 6, 2014 better link to features category of meta Jul 18, 2013
COPYRIGHT.txt fix trademark Jun 26, 2013
Capfile.sample Link to helpful article on Capistrano deployment May 5, 2013
Gemfile BUGFIX: redis-rails has always been a problem child Jan 6, 2014
Gemfile.lock rails 3 gem update (note will be removed at some point) Jan 6, 2014
Gemfile_rails4.lock BUGFIX: redis-rails has always been a problem child Jan 6, 2014
Gemfile_rails_master.lock Added a rails_master section to Gemfile Jan 6, 2014
LICENSE.txt Initial release of Discourse Feb 5, 2013
Procfile Heroku setup: Ruby 2, Unicorn, New Relic, exception tracking, Sendgri… Nov 1, 2013 Heroku setup: Ruby 2, Unicorn, New Relic, exception tracking, Sendgri… Nov 1, 2013
Rakefile Prevent crashes during migration in certain PostgreSQL configurations Apr 10, 2013
Vagrantfile Update Vagrantfile and docs/ for new box Oct 16, 2013
adminjs Initial release of Discourse Feb 5, 2013 Heroku setup: Ruby 2, Unicorn, New Relic, exception tracking, Sendgri… Nov 1, 2013
discourse.sublime-project Renamed `sublime-project` to `discourse.sublime-project` as sublime e… Jan 6, 2014
jsapp Initial release of Discourse Feb 5, 2013
projections.json.readme some helper files for vim May 22, 2013

Note: This is a fork of Discourse specifically for deploying to Heroku.


Discourse is the 100% open source, next-generation discussion platform built for the next decade of the Internet.

Whenever you need ...

  • a mailing list
  • a forum to discuss something
  • a chat room where you can type paragraphs

... consider Discourse.

To learn more about the philosophy and goals of the project, visit

Getting Started

  1. If you're brand new to Ruby and Rails, please see Discourse as Your First Rails App or our Discourse Vagrant Developer Guide, which includes instructions to get up and running in a development environment using a virtual machine. This beginner's guide is also adequate for developers ready to sink their teeth quickly; it's the easiest way to hack on Discourse!

  2. Once you have Discourse up and running, be sure to load the appropriate seed data on your forum, either the developer seed data, which is the same data you'll see on, or the production seed data which includes the Discourse Admin Quick Start Guide and meta guidance.

  3. If you're familiar with how Rails works and are comfortable setting up your own environment, use our Discourse Advanced Developer Guide.

Before you get started, ensure you have the following minimum versions: Ruby 1.9.3+, PostgreSQL 9.1+, Redis 2.6+. And if you're having trouble, please see our TROUBLESHOOTING GUIDE first!

Setting up a Discourse Forum

If you're not here to hack on the open source code, but rather looking to set up a Discourse forum in a production environment, see our Discourse Install Guide. Be warned, however, that Discourse is still very much beta, and you will probably need a background as a developer or system administrator to set it up successfully.


We think of Discourse as a Civilized Discourse Construction Kit, an open-source discussion platform that acts as a free, flexible, fundamental building block for online communities of any size, tiny to huge.

Discourse is:

  • A flattened, endlessly scrolling discussion, which avoids the awkwardness of traditionally threaded and paginated discussion, while still allowing replies to be expanded in place for context.

  • A user trust system that grants users rights to assist in moderating the forum as they participate in good faith over time. The goal is for the forum to be nearly self-moderating in the absence of any formal moderators, although excellent moderators do accelerate the process greatly.

  • An advanced JavaScript app which runs in modern browsers and works identically on desktop and tablet, without the need for a native app.

  • A contemporary, robust technology stack, free of legacy PHP and MySQL constraints.

Our goal is to foster an active community of contributors, all of whom commit to free, simple, pleasant to use online discussion software that can thrive in an Internet age dominated by micro-blogging and diminishing attention spans. Internet discussion belongs to everyone, not just huge corporate websites.

Discourse is built for the next 10 years of the Internet, so our requirements are high:

  1. Modern browsers on the desktop:
  • Internet Explorer 9.0 (may not be fully functional), 10.0+
  • Firefox 16+
  • Google Chrome 23+
  • Safari 5+
  1. The latest generation of tablets, 7" or larger:
  • iPad 2+
  • Android 4.1+
  • Windows 8
  1. Modern small screen mobile/smartphones as soon as possible:
  • Windows Phone 8
  • iOS 6+
  • Android 4.0+

Built With

Discourse is built from the following open source components:

  • Ruby on Rails - Our back end API is a Rails app. It responds to requests RESTfully and responds in JSON.
  • Ember.js - Our front end is an Ember.js app that communicates with the Rails API.
  • PostgreSQL - Our main data store is in Postgres.
  • Redis - We use Redis for our job queue, rate limiting, as a cache and for transient data.

Plus lots of Ruby Gems, a complete list of which is at SOFTWARE.MD.


Build Status Code Climate

Discourse is 100% free and open-source. We encourage and support an active, healthy community that accepts contributions from the public. We'd like you to be a part of that community.

Before contributing to Discourse, please:

  1. Review the VISION statement, to confirm that you understand the focus of the project,
  2. Read and sign the Electronic Discourse Forums Contribution License Agreement, to confirm you've read and acknowledged the legal aspects of your contributions, and
  3. Dig into CONTRIBUTING.MD, which houses all of the necessary info to:
    • submit bugs,
    • request new features, and
    • step you through the entire process of preparing your code for a Pull Request.
  4. Not sure what to work on? We've got some ideas!

We look forward to seeing your cool stuff!

Having Problems getting set up?

Before contacting us for help, please review our Troubleshooting Guide.

The Discourse Team

The original Discourse code contributors can be found in AUTHORS.MD. For a complete list of the many individuals that contributed to the design and implementation of Discourse, please refer to the official Discourse blog and GitHub's list of contributors.

Copyright / License

Copyright 2013 Civilized Discourse Construction Kit, Inc.

Licensed under the GNU General Public License Version 2.0 (or later); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Discourse logo and “Discourse Forum” ®, Civilized Discourse Construction Kit, Inc.


Discourse is built with love, Internet style.