discourse/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

118 lines
7.6 KiB
Markdown
Raw Normal View History

<a href="https://www.discourse.org/">
2021-08-13 14:23:49 -04:00
<img src="images/discourse-readme-logo.png" width="300px">
</a>
2019-02-04 16:52:11 -05:00
Discourse is the online home for your community. We offer a 100% open source community platform to those who want complete control over how and where their site is run.
2013-02-05 14:16:51 -05:00
Our platform has been battle-tested for over a decade and continues to evolve to meet users needs for a powerful community platform. Discourse allows you to create discussion topics and connect using real-time chat, as well as access an ever-growing number of official and community themes. In addition, we offer a wide variety of plugins for features ranging from chatbots powered by [Discourse AI](https://meta.discourse.org/t/discourse-ai/259214) to functionalities like SQL analysis using the [Data Explorer](https://meta.discourse.org/t/discourse-data-explorer/32566) plugin.
2013-02-05 14:16:51 -05:00
To learn more, visit [**discourse.org**](https://www.discourse.org) and join our support community at [meta.discourse.org](https://meta.discourse.org).
2013-08-09 19:35:25 -04:00
## Screenshots
2014-02-22 03:56:30 -05:00
<a href="https://blog.discourse.org/2023/08/discourse-3-1-is-here/"><img alt="Discourse 3.1" src="https://github-production-user-asset-6210df.s3.amazonaws.com/5862206/261215898-ae95f963-5ab4-4509-b87a-f9f6e9a109bf.png" width="720px"></a>
<a href="https://bbs.boingboing.net"><img alt="Boing Boing" src="https://github-production-user-asset-6210df.s3.amazonaws.com/5862206/261580781-1413ac96-5d08-40b2-bc8e-27c3f2d3bfe6.png" width="720px"></a>
<a href="https://twittercommunity.com/"><img alt="X Community" src="https://github.com/discourse/discourse/assets/2790986/ebb63eee-1927-4060-ada1-cf1bc774084c.png" width="720px"></a>
2014-03-01 03:40:35 -05:00
2019-02-04 16:52:11 -05:00
<img src="https://user-images.githubusercontent.com/1681963/52239118-b304f800-289b-11e9-9904-16450680d9ec.jpg" alt="Mobile" width="414">
Browse [lots more notable Discourse instances](https://www.discourse.org/customers).
2014-02-22 03:56:30 -05:00
2014-04-23 06:08:22 -04:00
## Development
2013-02-05 14:16:51 -05:00
To get your environment set up, follow the community setup guide for your operating system.
2013-02-05 14:16:51 -05:00
1. If you're on macOS, try the [macOS development guide](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772).
1. If you're on Ubuntu, try the [Ubuntu development guide](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727).
1. If you're on Windows, try the [Windows 10 development guide](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149).
1. If you're looking to use a simpler Docker-based install, try the [Docker development guide](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009).
If you're familiar with how Rails works and are comfortable setting up your own environment, you can also try out the [**Discourse Advanced Developer Guide**](docs/DEVELOPER-ADVANCED.md), which is aimed primarily at Ubuntu and macOS environments.
Before you get started, ensure you have the following minimum versions: [Ruby 3.2+](https://www.ruby-lang.org/en/downloads/), [PostgreSQL 13](https://www.postgresql.org/download/), [Redis 7](https://redis.io/download). If you're having trouble, please see our [**TROUBLESHOOTING GUIDE**](docs/TROUBLESHOOTING.md) first!
2015-09-24 02:24:45 -04:00
## Setting up Discourse
2014-03-02 01:56:15 -05: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 official hosting, see [discourse.org/pricing](https://www.discourse.org/pricing/).
2014-03-01 03:40:35 -05:00
## Requirements
2013-02-05 14:16:51 -05:00
Discourse is built for the *next* 10 years of the Internet, so our requirements are high.
Discourse supports the **latest, stable releases** of all major browsers and platforms:
2013-02-05 14:16:51 -05:00
| Browsers | Tablets | Phones |
| --------------------- | ------------ | ------------ |
| Apple Safari | iPadOS | iOS |
| Google Chrome | Android | Android |
| Microsoft Edge | | |
| Mozilla Firefox | | |
Additionally, we aim to support Safari on iOS 15.7+.
## Built With
2014-04-23 06:08:22 -04: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 02:05:15 -05:00
- [Ember.js](https://github.com/emberjs/ember.js) &mdash; Our front end is an Ember.js app that communicates with the Rails API.
2019-02-22 10:29:27 -05:00
- [PostgreSQL](https://www.postgresql.org/) &mdash; Our main data store is in Postgres.
- [Redis](https://redis.io/) &mdash; We use Redis as a cache and for transient data.
2020-08-11 15:25:53 -04:00
- [BrowserStack](https://www.browserstack.com/) &mdash; We use BrowserStack to test on real devices and browsers.
Plus *lots* of Ruby Gems, a complete list of which is at [/main/Gemfile](https://github.com/discourse/discourse/blob/main/Gemfile).
2013-02-05 14:16:51 -05:00
## Contributing
[![Build Status](https://github.com/discourse/discourse/actions/workflows/tests.yml/badge.svg)](https://github.com/discourse/discourse/actions)
2015-09-24 02:24:45 -04:00
Discourse is **100% free** and **open source**. We encourage and support an active, healthy community that
2014-04-23 06:39:42 -04:00
accepts contributions from the public &ndash; including you!
2013-02-05 14:16:51 -05:00
2014-03-01 17:56:09 -05:00
Before contributing to Discourse:
2013-02-05 14:16:51 -05:00
2019-02-22 10:29:27 -05:00
1. Please read the complete mission statements on [**discourse.org**](https://www.discourse.org). Yes we actually believe this stuff; you should too.
2. Read and sign the [**Electronic Discourse Forums Contribution License Agreement**](https://www.discourse.org/cla).
2014-03-02 01:56:15 -05:00
3. Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers submitting bugs, requesting new features, preparing your code for a pull request, etc.
4. Always strive to collaborate [with mutual respect](https://github.com/discourse/discourse/blob/main/docs/code-of-conduct.md).
2019-02-22 10:29:27 -05:00
5. Not sure what to work on? [**We've got some ideas.**](https://meta.discourse.org/t/so-you-want-to-help-out-with-discourse/3823)
2015-12-04 06:14:45 -05:00
2013-02-05 14:16:51 -05:00
2014-03-01 03:40:35 -05:00
We look forward to seeing your pull requests!
2014-04-30 23:20:05 -04:00
## Security
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/main/docs/SECURITY.md) for an overview of security measures in Discourse, or if you wish to report a security issue.
2014-04-30 23:20:05 -04:00
2013-02-05 14:16:51 -05:00
## The Discourse Team
2019-02-22 10:29:27 -05:00
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](https://blog.discourse.org/2013/02/the-discourse-team/) and [GitHub's list of contributors](https://github.com/discourse/discourse/contributors).
2013-04-11 00:45:31 -04:00
2013-02-05 14:16:51 -05:00
## Copyright / License
Copyright 2014 - 2023 Civilized Discourse Construction Kit, Inc.
2013-02-05 14:16:51 -05: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:
2019-02-22 10:29:27 -05:00
https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2013-02-05 14:16:51 -05:00
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 04:14:44 -05:00
Discourse logo and “Discourse Forum” ®, Civilized Discourse Construction Kit, Inc.
## Accessibility
To guide our ongoing effort to build accessible software we follow the [W3Cs Web Content Accessibility Guidelines (WCAG)](https://www.w3.org/TR/WCAG21/). If you'd like to report an accessibility issue that makes it difficult for you to use Discourse, email accessibility@discourse.org. For more information visit [discourse.org/accessibility](https://discourse.org/accessibility).
2013-02-27 04:14:44 -05:00
## Dedication
2019-02-22 10:29:27 -05:00
Discourse is built with [love, Internet style.](https://www.youtube.com/watch?v=Xe1TZaElTAs)