discourse/README.md

104 lines
5.8 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
2014-05-06 14:12:31 +08:00
Discourse is the 100% open source discussion platform built for the next decade of the Internet. It works as:
2013-02-06 03:16:51 +08:00
2013-02-21 05:07:38 +08:00
- a mailing list
2014-04-16 18:00:29 +08:00
- a discussion forum
2014-04-26 10:47:56 +08:00
- a long-form chat room
2013-02-06 03:16:51 +08:00
2014-03-01 16:40:35 +08:00
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
2013-08-10 07:35:25 +08:00
## Screenshots
2014-02-22 16:56:30 +08:00
2014-12-01 18:38:33 +08:00
[![](https://raw.githubusercontent.com/discourse/discourse-docimages/master/readme/boing-boing-latest-small2.png)](http://bbs.boingboing.net)
[![](https://raw.githubusercontent.com/discourse/discourse-docimages/master/readme/how-to-geek-profile-small2.png)](http://discuss.howtogeek.com)
[![](https://raw.githubusercontent.com/discourse/discourse-docimages/master/readme/new-relic-categories-small2.png)](http://discuss.newrelic.com)
[![](https://raw.githubusercontent.com/discourse/discourse-docimages/master/readme/turtle-rock-topic-small2.jpg)](https://talk.turtlerockstudios.com/)
[![](https://raw.githubusercontent.com/discourse/discourse-docimages/master/readme/nexus-7-mobile-discourse-small3.png)](http://discuss.atom.io)
[![](https://raw.githubusercontent.com/discourse/discourse-docimages/master/readme/iphone-5s-mobile-discourse-small4.png)](http://discourse.soylent.me)
2014-03-01 16:40:35 +08:00
2014-02-22 16:56:30 +08:00
2014-04-23 18:08:22 +08:00
## Development
2013-02-06 03:16:51 +08:00
2014-04-16 18:00:29 +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 a development environment in a virtual machine.
2013-02-06 03:16:51 +08:00
2014-03-02 14:56:15 +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-10-04 01:48:36 +08:00
Before you get started, ensure you have the following minimum versions: [Ruby 2.0.0+](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-03-02 14:56:15 +08:00
If you want to set up a Discourse forum for production use, see our [**Discourse Install Guide**](docs/INSTALL.md).
If you're looking for business class hosting, see [discourse.org/buy](http://www.discourse.org/buy/).
2014-03-01 16:40:35 +08:00
## Requirements
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
| Browsers | Tablets | Smartphones |
| -------- | ------- | ----------- |
2014-04-10 07:21:08 +08:00
| Safari 5.1+| iPad 2+ | iOS 6+ |
| Google Chrome 23+ | Android 4.1+ | Android 4.1+ |
| Internet Explorer 10+ | Windows 8 | Windows Phone 8 |
| Firefox 16+ | |
Internet Explorer 9.0 is technically supported, but it is our absolute minimum spec browser and may not be fully functional.
2013-02-06 03:16:51 +08:00
## Built With
2014-04-23 18:08:22 +08:00
- [Ruby on Rails](https://github.com/rails/rails) &mdash; Our back end API is a Rails app. It responds to requests RESTfully in JSON.
2014-03-02 15:05:15 +08:00
- [Ember.js](https://github.com/emberjs/ember.js) &mdash; Our front end is an Ember.js app that communicates with the Rails API.
- [PostgreSQL](http://www.postgresql.org/) &mdash; Our main data store is in Postgres.
2014-04-23 18:08:22 +08:00
- [Redis](http://redis.io/) &mdash; We use Redis 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.svg)](https://travis-ci.org/discourse/discourse)
[![Code Climate](https://codeclimate.com/github/discourse/discourse.svg)](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
2014-04-23 18:39:42 +08:00
accepts contributions from the public &ndash; including you!
2013-02-06 03:16:51 +08:00
2014-03-02 06:56:09 +08:00
Before contributing to Discourse:
2013-02-06 03:16:51 +08:00
2014-03-02 14:56:15 +08:00
1. Please read the complete mission statements on [**discourse.org**](http://www.discourse.org). Yes we actually believe this stuff; you should too.
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, etc.
2014-03-07 15:23:00 +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
2014-03-01 16:40:35 +08:00
We look forward to seeing your pull requests!
2014-05-01 11:20:05 +08:00
## Security
2014-05-06 14:12:31 +08:00
We take security very seriously at Discourse; all our code is 100% open source and peer reviewed. Please read [our security guide](https://github.com/discourse/discourse/blob/master/docs/SECURITY.md) for an overview of security measures in Discourse.
2014-05-01 11:20:05 +08:00
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)