discourse/README.md

127 lines
6.5 KiB
Markdown
Raw Normal View History

<a href="http://www.discourse.org/">![Logo](images/discourse.png)</a>
2013-02-06 03:16:51 +08:00
2013-02-21 05:07:38 +08:00
Discourse is the 100% open source, next-generation discussion platform built for the next decade of the Internet.
2013-02-06 03:16:51 +08:00
Whenever you need ...
2013-02-21 05:07:38 +08:00
- a mailing list
- a forum to discuss something
- a chat room where you can type paragraphs
2013-02-06 03:16:51 +08:00
... consider Discourse.
2013-08-10 07:35:25 +08:00
To learn more about the philosophy and goals of the project, [visit discourse.org](http://www.discourse.org).
2014-02-22 16:56:30 +08:00
## Screenshots
2014-02-22 17:51:50 +08:00
[![](https://raw2.github.com/discourse/discourse-docimages/master/readme/boing-boing-latest-small2.png)](http://bbs.boingboing.net)
[![](https://raw2.github.com/discourse/discourse-docimages/master/readme/how-to-geek-profile-small2.png)](http://discuss.howtogeek.com)
[![](https://raw2.github.com/discourse/discourse-docimages/master/readme/new-relic-categories-small2.png)](http://discuss.newrelic.com)
[![](https://raw2.github.com/discourse/discourse-docimages/master/readme/turtle-rock-topic-small2.jpg)](https://talk.turtlerockstudios.com/)
2014-02-22 16:56:30 +08:00
2013-02-06 03:16:51 +08:00
## Getting Started
2014-02-25 17:27:11 +08:00
1. If you're **brand new to Ruby and Rails**, please see [**Discourse as Your First Rails App**](http://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/) or our [**Discourse Vagrant Developer Guide**](docs/VAGRANT.md), which includes instructions to get up and running in a development environment using a virtual machine.
2013-02-06 03:16:51 +08:00
2014-01-15 09:30:44 +08:00
2. If you're familiar with how Rails works and are comfortable setting up your own environment, use our [**Discourse Advanced Developer Guide**](docs/DEVELOPER-ADVANCED.md).
2014-02-25 17:27:11 +08:00
Before you get started, ensure you have the following minimum versions: [Ruby 1.9.3+](http://www.ruby-lang.org/en/downloads/), [PostgreSQL 9.1+](http://www.postgresql.org/download/), [Redis 2.6+](http://redis.io/download). If you're having trouble, please see our [**TROUBLESHOOTING GUIDE**](docs/TROUBLESHOOTING.md) first!
2013-08-02 06:28:26 +08:00
## Setting up a Discourse Forum
2014-02-25 16:51:29 +08:00
If you want to set up a Discourse forum for production use, see our [**Discourse Install Guide**](docs/INSTALL.md).
2013-02-06 03:16:51 +08:00
## Vision
2014-01-23 03:35:38 +08:00
Discourse is a **Civilized Discourse Construction Kit**, a free, flexible, fundamental building block for online discussion communities of any size, tiny to huge.
2013-04-11 12:41:30 +08:00
- A **flattened, endlessly scrolling discussion**, avoiding the awkwardness of traditionally threaded and paginated discussion, where replies can be expanded in place for context.
2013-02-21 05:22:12 +08:00
2014-01-23 03:35:38 +08:00
- 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.
2013-02-21 05:22:12 +08:00
2014-01-23 03:35:38 +08:00
- 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.
2013-02-21 05:22:12 +08:00
2013-04-11 12:25:34 +08:00
- A **contemporary, robust technology stack**, free of legacy PHP and MySQL constraints.
2013-02-06 03:16:51 +08:00
2014-01-23 03:35:38 +08:00
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.
2013-02-06 03:16:51 +08:00
2013-04-11 12:25:34 +08:00
Discourse is built for the *next* 10 years of the Internet, so our requirements are high:
2013-02-06 03:16:51 +08:00
2014-01-23 03:35:38 +08:00
Up-to-date desktop browsers:
2013-02-27 17:14:44 +08:00
- Internet Explorer 9.0 (may not be fully functional), 10.0+
2013-02-21 05:07:38 +08:00
- Firefox 16+
2013-02-21 05:22:12 +08:00
- Google Chrome 23+
2013-02-26 00:42:20 +08:00
- Safari 5+
2014-01-23 03:35:38 +08:00
Latest generation of tablets:
2013-02-21 05:07:38 +08:00
- iPad 2+
2013-02-21 05:22:12 +08:00
- Android 4.1+
2013-02-21 05:07:38 +08:00
- Windows 8
2014-01-23 03:35:38 +08:00
Modern mobile/smartphones:
- iOS 6+
2014-01-15 09:24:39 +08:00
- Android 4.1+
- Windows Phone 8
2013-02-06 03:16:51 +08:00
## Built With
Discourse is built from the following open source components:
- [Ruby on Rails](https://github.com/rails/rails) - Our back end API is a Rails app. It responds to requests RESTfully and responds in JSON.
- [Ember.js](https://github.com/emberjs/ember.js) - Our front end is an Ember.js app that communicates with the Rails API.
- [PostgreSQL](http://www.postgresql.org/) - Our main data store is in Postgres.
- [Redis](http://redis.io/) - 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](https://github.com/discourse/discourse/blob/master/Gemfile).
2013-02-06 03:16:51 +08:00
## Contributing
[![Build Status](https://travis-ci.org/discourse/discourse.png)](https://travis-ci.org/discourse/discourse)
2013-02-11 18:48:04 +08:00
[![Code Climate](https://codeclimate.com/github/discourse/discourse.png)](https://codeclimate.com/github/discourse/discourse)
2013-02-06 03:16:51 +08:00
Discourse is **100% free** and **open-source**. We encourage and support an active, healthy community that
2013-04-11 12:25:34 +08:00
accepts contributions from the public. We'd like you to be a part of that community.
2013-02-06 03:16:51 +08:00
2013-02-21 05:33:11 +08:00
Before contributing to Discourse, please:
2013-02-06 03:16:51 +08:00
2014-02-25 17:27:11 +08:00
1. Please read the complete mission statements on [discourse.org](http://www.discourse.org).
2. Read and sign the [**Electronic Discourse Forums Contribution License Agreement**](http://discourse.org/cla)
3. Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers:
- submitting bugs
- requesting new features
- preparing your code for a Pull Request
2013-02-27 17:26:57 +08:00
4. Not sure what to work on? [**We've got some ideas!**](http://meta.discourse.org/t/so-you-want-to-help-out-with-discourse/3823)
2013-02-06 03:16:51 +08:00
2013-04-11 12:25:34 +08:00
We look forward to seeing your cool stuff!
2013-02-06 03:16:51 +08:00
## Having Problems getting set up?
Before contacting us for help, please review our [Troubleshooting Guide](docs/TROUBLESHOOTING.md).
2013-02-06 03:16:51 +08:00
## The Discourse Team
The original Discourse code contributors can be found in [**AUTHORS.MD**](docs/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](http://blog.discourse.org/2013/02/the-discourse-team/) and [GitHub's list of contributors](https://github.com/discourse/discourse/contributors).
2013-04-11 12:45:31 +08:00
2013-02-06 03:16:51 +08:00
## Copyright / License
2014-01-15 09:24:39 +08:00
Copyright 2014 Civilized Discourse Construction Kit, Inc.
2013-02-06 03:16:51 +08:00
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.
2013-02-27 17:14:44 +08:00
Discourse logo and “Discourse Forum” ®, Civilized Discourse Construction Kit, Inc.
## Dedication
2013-03-01 02:55:26 +08:00
Discourse is built with [love, Internet style.](http://www.youtube.com/watch?v=Xe1TZaElTAs)