According the official website, "Discourse is a simple, flat forum, where replies flow down the page in a line. The expandable replies are attached to the bottom and top of each post, so you can discover the fuller context of the conversation - without breaking your flow."
This rough tutorial is a step-by-step guide about the how to setup Discourse aimed to advanced Rails developers who have installed their own Rails apps before. if you are new to Rails, you are likely much better off with this Discourse Vagrant Developer Guide.
This post os heavily based on this document although we have added some comments in bold+italic (missing things in the original file or maybe just due to our machine conf.).
- Install and configure PostgreSQL 9.1+.
- Run postgres -V to see if you already have it.
- Make sure that the server's messages language is English; this is required by the ActiveRecord Postgres adapter.
- Install and configure Redis 2+.
- Run redis-server -v to see if you already have it.
- Install ImageMagick
- Install libxml2, g++, and make.
- Install Ruby 1.9.3 and Bundler.
WRONG! You have to use ruby 2.0. Some of the dependencies require it. (better_errors -v '2.0.0')
- Clone the project and bundle.
- Copy config/ >
NOP.. Already named as they should be (without sample prefix). For Redis the config is: host: localhost, port: 6379, db: 0
- Create the "vagrant" user and the development and test >
- Install Vagrant: sudo apt-get install vagrant
- bundle exec rails server
We will continue posting about this as soon as we have more info. Follow us to keep updated!