Commit 2fd034973ae9275923bb2cbe4b8868099b17e21b

Authored by Antonio Terceiro + Paulo Meirelles
Committed by Antonio Terceiro
1 parent 5ee75752

Review INSTALL

Showing 1 changed file with 26 additions and 18 deletions   Show diff stats
INSTALL
1 1 = Noosfero installation instructions from source for production environments
2 2  
3   -Noosfero is written in Ruby with the "Rails framework":http://www.rubyonrails.org,
4   -so the process of setting it up is pretty similar to other Rails applications.
  3 +The instructions below can be used for setting up a Noosfero production
  4 +environment from the Noosfero sources.
5 5  
6   -Below we have the instructions for installing Noosfero dependencies and setting
7   -up a production environment. If you have problems with the setup, please feel
8   -free to ask questions in the development mailing list.
  6 +Before you start installing Noosfero manually, see the information about the
  7 +Noosfero Debian package at http://noosfero.org/Development/DebianPackage. Using
  8 +the Debian packages on a Debian stable system is the recommended method for
  9 +installing production environments.
  10 +
  11 +If you want to setup a development environment instead of a production one,
  12 +stop reading this file right now and read the file HACKING instead.
  13 +
  14 +For a complete installation guide, please see the following web page:
  15 +http://noosfero.org/Development/HowToInstall
  16 +
  17 +If you have problems with the setup, please feel free to ask questions in the
  18 +development mailing list.
9 19  
10 20 == Requirements
11 21  
  22 +DISCLAIMER: this installation procedure is tested with Debian stable, which is
  23 +currently the only recommended operating system for production usage. It is
  24 +possible that you can install it on other systems, and if you do so, please
  25 +report it on one of the Noosfero mailing lists, and please send a patch
  26 +updating these instructions.
  27 +
  28 +Noosfero is written in Ruby with the "Rails
  29 +framework":http://www.rubyonrails.org, so the process of setting it up is
  30 +pretty similar to other Rails applications.
  31 +
12 32 You need to install some packages Noosfero depends on. On Debian GNU/Linux or
13 33 Debian-based systems, all of these packages are available through the Debian
14 34 archive. You can install them with the following command:
... ... @@ -38,21 +58,9 @@ If you manage to install Noosfero successfully on other systems than Debian,
38 58 please feel free to contact the Noosfero development mailing with the
39 59 instructions for doing so, and we'll include it here.
40 60  
41   -=== Setting up a production environment
42   -
43   -DISCLAIMER: this installation procedure is tested with Debian stable, which is
44   -currently the only recommended operating system for production usage. It is
45   -possible that you can install it on other systems, and if you do so, please
46   -report it on one of the Noosfero mailing lists, and please send a patch
47   -updating these instructions.
48   -
49 61 As root user
50 62 ============
51 63  
52   -NOTE: these instructions are for seting up a *production* environment. If you
53   -are going to do Noosfero development, you don't need to do these steps. Stop
54   -here and see the HACKING file instead.
55   -
56 64 Install memcached. On Debian:
57 65  
58 66 # apt-get install memcached
... ... @@ -204,7 +212,7 @@ Run Solr:
204 212  
205 213 $ rake solr:start
206 214  
207   -Now we have to create some initial data. To create your default environment
  215 +Now we must create some initial data. To create your default environment
208 216 (the first one), run the command below:
209 217  
210 218 $ RAILS_ENV=production ./script/runner 'Environment.create!(:name => "My environment", :is_default => true)'
... ...