normalize on Docker installs

This commit is contained in:
Jeff Atwood 2014-02-25 01:11:32 -08:00
parent adcd4a17c2
commit 3ee7ef0953
1 changed files with 19 additions and 31 deletions

View File

@ -1,46 +1,34 @@
# How Do I Install Discourse? # How Do I Install Discourse?
It is still early times for Discourse. From [our FAQ](http://www.discourse.org/faq/): If you want the easiest possible install:
[**Beginner Docker install guide for Digital Ocean**][do]
> Discourse is brand new. Discourse is early beta software, and likely to remain so for many months. If you want a powerful, flexible install:
> Please experiment with it, play with it, give us feedback, submit pull requests but any consideration [**Advanced Docker install guide**][docker]
> of fully adopting Discourse is for people and organizations who are eager to live on the bleeding and broken edge.
Still interested? The only officially supported installs of Discourse are the [Docker](https://www.docker.io/) based beginner and advanced installs, above. We regret that we cannot directly support any other methods of installation.
### [**Click here for the OFFICIAL INSTALL GUIDE**][1] Alternately, you can try the [unofficial Heroku install guide][heroku], the [unofficial Ubuntu install guide][ubuntu], the [BitNami Discourse Virtual Machine package][bitnami] or [Cloud66][cloud66].
Alternately, you can try the [unofficial Heroku install guide][2], the [BitNami Discourse Virtual Machine package][3] or [Cloud66][4]. ## Requirements
## Quick and Dirty Install
### Hardware ### Hardware
- Dual core CPU recommended - Dual core CPU recommended
- 2 GB RAM recommended (and 2 GB of swap space) - 2 GB RAM recommended
We highly recommend you enable swap (for a total of 4 GB, so 2 GB swap with 2 GB RAM, and 3 GB swap with 1 GB ram, etc).
### Software ### Software
1. **Postgres 9.1+** 1. [Postgres 9.1+](http://www.postgresql.org/download/)
- Enable support for HSTORE 2. [Redis 2.6+](http://redis.io/download)
- Create a discourse database and seed it with a basic image 3. [Ruby 1.9.3+](http://www.ruby-lang.org/en/downloads/) (we recommend 2.0.0-p353 or higher)
2. **Redis 2.6+**
3. **Ruby 1.9.3+** (we recommend 2.0.0-p195 or higher) [do]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md
- Install all rubygems via bundler [docker]: https://github.com/discourse/discourse_docker
- Edit database.yml and redis.yml and point them at your databases. [bitnami]: http://bitnami.com/stack/discourse
- Run `rake db:seed_fu` to add seed data [cloud66]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud66.md
- Prepackage all assets using rake [heroku]: https://github.com/discourse/discourse/blob/master/docs/install-HEROKU.md
- Run the Rails database migrations [ubuntu]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md
- Run a sidekiq process for background jobs
- Run several Rails processes, preferably behind a proxy like Nginx.
### Low memory (less than 2 GB)
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!
[1]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md
[2]: https://github.com/discourse/discourse/blob/master/docs/HEROKU.md
[3]: http://bitnami.com/stack/discourse
[4]: https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud66.md