2013-02-06 03:16:51 +08:00
|
|
|
|
# Discourse "Quick-and-Dirty" Install Guide
|
|
|
|
|
|
2013-06-08 07:00:01 +08:00
|
|
|
|
It is still early times for Discourse. From our FAQ:
|
2013-02-06 03:16:51 +08:00
|
|
|
|
|
2013-02-27 01:45:56 +08: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-06 03:16:51 +08:00
|
|
|
|
> of fully adopting Discourse is for people and organizations who are eager to live on the bleeding and broken edge.
|
|
|
|
|
|
2013-06-08 07:00:01 +08:00
|
|
|
|
Discourse has two fairly decent install documents now:
|
2013-06-08 06:57:55 +08:00
|
|
|
|
|
|
|
|
|
- Our [**official Ubuntu Server 12.04 LTS install document**][1]
|
|
|
|
|
- [Unofficial Heroku install document][2]
|
2013-06-08 07:00:01 +08:00
|
|
|
|
|
2013-06-08 06:57:55 +08:00
|
|
|
|
Beyond that, if you are feeling extra *extra* adventurous you can try to set up following components manually:
|
2013-02-06 03:16:51 +08:00
|
|
|
|
|
2013-06-08 07:00:01 +08:00
|
|
|
|
1. **Postgres 9.1+**
|
2013-02-06 03:16:51 +08:00
|
|
|
|
- Enable support for HSTORE
|
|
|
|
|
- Create a discourse database and seed it with a basic image
|
2013-06-08 07:00:01 +08: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 a clockwork process for enqueing scheduled jobs
|
|
|
|
|
- Run several Rails processes, preferably behind a proxy like Nginx.
|
2013-02-06 03:16:51 +08:00
|
|
|
|
|
2013-06-08 06:57:55 +08: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-02-06 03:16:51 +08:00
|
|
|
|
|