2013-07-30 16:48:40 -05:00
|
|
|
|
# How Do I Install Discourse?
|
2013-02-05 13:16:51 -06:00
|
|
|
|
|
2013-07-30 16:47:21 -05:00
|
|
|
|
It is still early times for Discourse. From [our FAQ](http://www.discourse.org/faq/):
|
2013-02-05 13:16:51 -06:00
|
|
|
|
|
2013-02-26 11:45:56 -06:00
|
|
|
|
> Discourse is brand new. Discourse is early beta software, and likely to remain so for many months.
|
|
|
|
|
> Please experiment with it, play with it, give us feedback, submit pull requests – but any consideration
|
2013-02-05 13:16:51 -06:00
|
|
|
|
> of fully adopting Discourse is for people and organizations who are eager to live on the bleeding and broken edge.
|
|
|
|
|
|
2013-07-30 16:42:07 -05:00
|
|
|
|
Still interested?
|
2013-06-07 17:57:55 -05:00
|
|
|
|
|
2013-07-30 16:47:21 -05:00
|
|
|
|
### [**Click here for the OFFICIAL INSTALL GUIDE**][1]
|
2013-06-07 18:00:01 -05:00
|
|
|
|
|
2013-07-30 16:42:07 -05:00
|
|
|
|
Alternately, you can try the [unofficial Heroku install guide][2], or the [BitNami Discourse Virtual Machine package][3].
|
|
|
|
|
|
2013-07-30 16:47:21 -05:00
|
|
|
|
## Quick and Dirty Install
|
2013-07-30 16:42:07 -05:00
|
|
|
|
|
|
|
|
|
### Hardware
|
2013-07-04 02:43:17 -05:00
|
|
|
|
|
|
|
|
|
- Dual core CPU recommended
|
2013-08-01 18:42:42 -05:00
|
|
|
|
- 2 GB RAM recommended (and 2 GB of swap space)
|
2013-07-04 02:43:17 -05:00
|
|
|
|
|
2013-07-30 16:42:07 -05:00
|
|
|
|
### Software
|
2013-02-05 13:16:51 -06:00
|
|
|
|
|
2013-06-07 18:00:01 -05:00
|
|
|
|
1. **Postgres 9.1+**
|
2013-02-05 13:16:51 -06:00
|
|
|
|
- Enable support for HSTORE
|
|
|
|
|
- Create a discourse database and seed it with a basic image
|
2013-06-07 18:00:01 -05:00
|
|
|
|
|
|
|
|
|
2. **Redis 2.6+**
|
|
|
|
|
|
|
|
|
|
3. **Ruby 1.9.3+** (we recommend 2.0.0-p195 or higher)
|
|
|
|
|
- Install all rubygems via bundler
|
|
|
|
|
- Edit database.yml and redis.yml and point them at your databases.
|
|
|
|
|
- Run `rake db:seed_fu` to add seed data
|
|
|
|
|
- Prepackage all assets using rake
|
|
|
|
|
- Run the Rails database migrations
|
|
|
|
|
- Run a sidekiq process for background jobs
|
|
|
|
|
- Run several Rails processes, preferably behind a proxy like Nginx.
|
2013-02-05 13:16:51 -06:00
|
|
|
|
|
2013-07-30 16:47:21 -05:00
|
|
|
|
### Low memory (less than 2 GB)
|
2013-07-08 20:01:51 -05:00
|
|
|
|
|
2013-08-07 12:25:05 -05:00
|
|
|
|
Remember you *will* need swap enabled (enough for a total of 4 GB, so 2 GB swap with 2 GB RAM, and 3 GB swap with 1 GB ram, etc) and working!
|
2013-07-08 20:01:51 -05:00
|
|
|
|
|
2013-06-07 17:57:55 -05:00
|
|
|
|
[1]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md
|
|
|
|
|
[2]: https://github.com/discourse/discourse/blob/master/docs/HEROKU.md
|
2013-07-30 16:42:07 -05:00
|
|
|
|
[3]: http://bitnami.com/stack/discourse
|