A platform for community discussion. Free, open, simple.
Go to file
David Celis 49bc7692bf Include binstubs generated by Rails 4
Commit b516ecc added `bin/` to the .gitignore file. Now that Discourse
runs using Rails 4 by default, however, we should include the binstubs
generated by `rake rails:update:bin` in version control as this is the
recommendation of the Rails core team. Additionally, for those wishing
to deploy Discourse to Heroku, these binstubs are actually mandatory
according to [this article](https://devcenter.heroku.com/articles/rails4).

Other binstubs can continue to be ignored.

Signed-off-by: David Celis <me@davidcel.is>
2014-02-06 11:15:00 -08:00
app Comma needs to die 2014-02-06 11:57:45 -05:00
bin Include binstubs generated by Rails 4 2014-02-06 11:15:00 -08:00
chef A failed attempt to upgrade ruby in the vagrant image using chef. Everything works except setting the default ruby. The command is successful, but doesn't change the default ruby. Stumped. 2014-01-08 14:46:15 -05:00
config Comma needs to die 2014-02-06 11:57:45 -05:00
db FEATURE: added welcome to discourse topic 2014-02-04 13:21:43 +11:00
docs Merge pull request #1897 from matsen/master 2014-02-06 15:29:16 +01:00
images Saved ~46KB through image optimization. 2013-02-28 10:58:12 -05:00
lib Refactors PostDestroyer 2014-02-06 07:54:34 -05:00
log Initial release of Discourse 2013-02-05 14:16:51 -05:00
packaging/debian Copy default production.rb file. 2013-10-08 15:20:57 +01:00
pg_dumps improve "override default" text in customize 2013-04-14 11:22:25 -07:00
plugins FIX: Can do multiple :) emojis on one line 2014-01-21 13:33:19 -05:00
public Support embedded link counts via data-* attribute 2014-01-13 13:37:55 -05:00
script better var names 2014-01-31 16:37:05 +11:00
spec FEATURE: new scheduler 2014-02-06 10:26:16 +11:00
test Comma needs to die 2014-02-06 11:57:45 -05:00
vendor Append browser-update div last in the dom to prevent googlebots from seeing it first 2014-02-06 10:48:15 -05:00
.autotest Initial release of Discourse 2013-02-05 14:16:51 -05:00
.env.sample Basic Heroku integration 2013-03-13 19:07:49 +00:00
.gitattributes prevent crlf on yml files 2013-04-05 11:20:57 +02:00
.gitignore ignore bundle in case people bundle standalone 2014-01-06 15:55:01 +11:00
.jshintrc Adds JS integration tests for search 2014-01-31 01:53:08 -05:00
.procfile.sample Replace Clockwork with Sidetiq 2013-08-14 21:39:40 +02:00
.rspec Initial release of Discourse 2013-02-05 14:16:51 -05:00
.ruby-gemset.sample rvm has offically depreicated .rvmrc and recommends using .ruby-version and .ruby-gemset instead. 2013-05-23 09:16:11 -07:00
.ruby-version.sample rvm has offically depreicated .rvmrc and recommends using .ruby-version and .ruby-gemset instead. 2013-05-23 09:16:11 -07:00
.travis.yml BUGFIX: stop testing on 2.1 it segfaults 2014-01-31 12:42:04 +11:00
adminjs Initial release of Discourse 2013-02-05 14:16:51 -05:00
Brewfile Update the OS X development documentation 2014-01-23 22:34:29 -05:00
Capfile.sample Link to helpful article on Capistrano deployment 2013-05-05 08:38:27 -07:00
config.ru Allow running discourse with prefix with passenger without requiring a symlink 2013-04-10 14:23:49 +02:00
CONTRIBUTING.md better link to features category of meta 2013-07-18 00:40:28 -07:00
COPYRIGHT.txt fix trademark 2013-06-27 09:38:15 +10:00
discourse.sublime-project Renamed sublime-project to discourse.sublime-project as sublime expects a .sublime-project 2013-12-23 14:46:35 -05:00
Gemfile FEATURE: new scheduler 2014-02-06 10:26:16 +11:00
Gemfile_rails_master.lock Added a rails_master section to Gemfile 2013-12-30 14:36:51 -08:00
Gemfile_rails4.lock FEATURE: new scheduler 2014-02-06 10:26:16 +11:00
Gemfile.lock rails 3 gem update (note will be removed at some point) 2013-12-06 17:06:52 +11:00
jsapp Initial release of Discourse 2013-02-05 14:16:51 -05:00
LICENSE.txt Initial release of Discourse 2013-02-05 14:16:51 -05:00
Procfile Standardize on 'worker' for sidekiq Procfile entry (expected by buildpack). 2013-10-08 14:45:32 +01:00
projections.json.readme some helper files for vim 2013-05-22 15:48:48 +10:00
Rakefile Prevent crashes during migration in certain PostgreSQL configurations 2013-04-10 13:26:55 +02:00
README.md omit needless words 2014-01-22 11:36:48 -08:00
Vagrantfile Update Vagrantfile and docs/VAGRANT.md for new box 2013-10-16 13:55:26 -04:00

Logo

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 discourse.org.

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. 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.

Vision

Discourse is a Civilized Discourse Construction Kit, a free, flexible, fundamental building block for online discussion communities of any size, tiny to huge.

  • A flattened, endlessly scrolling discussion, avoiding the awkwardness of traditionally threaded and paginated discussion, where replies to be expanded in place for context.

  • A user trust system that grants users rights to assist in governing 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 always accelerate the process greatly.

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

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

Internet discussion belongs to everyone, not just huge corporate websites. 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.

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

Up-to-date desktop browsers:

  • Internet Explorer 9.0 (may not be fully functional), 10.0+
  • Firefox 16+
  • Google Chrome 23+
  • Safari 5+

Latest generation of tablets:

  • iPad 2+
  • Android 4.1+
  • Windows 8

Modern mobile/smartphones:

  • iOS 6+
  • Android 4.1+
  • Windows Phone 8

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 /master/Gemfile.

Contributing

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 2014 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:

http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

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.

Dedication

Discourse is built with love, Internet style.