diff --git a/INSTALL b/INSTALL index 6480c4d..4c29282 100644 --- a/INSTALL +++ b/INSTALL @@ -13,7 +13,8 @@ You need to install some packages Noosfero depends on. On Debian GNU/Linux or Debian-based systems, all of these packages are available through the Debian archive. You can install them with the following command: - # apt-get install ruby rake po4a libgettext-ruby-util libgettext-ruby-data libgettext-ruby1.8 libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libwill-paginate-ruby iso-codes libfeedparser-ruby libferret-ruby libdaemons-ruby thin tango-icon-theme libhpricot-ruby + # apt-get install ruby rake po4a libgettext-ruby-util libgettext-ruby1.8 libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libwill-paginate-ruby iso-codes libfeedparser-ruby libferret-ruby libdaemons-ruby thin tango-icon-theme libhpricot-ruby + On other systems, they may or may not be available through your regular package management system. Below are the links to their homepages. @@ -21,7 +22,6 @@ management system. Below are the links to their homepages. * Ruby: http://www.ruby-lang.org/ * Rake: http://rake.rubyforge.org/ * po4a: http://po4a.alioth.debian.org/ -* Ruby-GetText: http://www.yotabanana.com/hiki/ruby-gettext.html?ruby-gettext (at least version 1.9.0) * Ruby-sqlite3: http://rubyforge.org/projects/sqlite-ruby * rcov: http://eigenclass.org/hiki/rcov * Ferret: http://ferret.davebalmain.com/trac @@ -35,17 +35,6 @@ management system. Below are the links to their homepages. * tango-icon-theme: http://tango.freedesktop.org/Tango_Icon_Library * Hpricot: http://hpricot.com/ -Note: the tango-icon-theme package is not available in Debian Lenny's main -repository, because back then it was not DFSG-free (Debian Squeeze will have it -in main). You can either add the non-free repository to your sources.list file, -or download the .deb directly and install it manually with `dpkg -i`. In this -case will need do install hicolor-icon-theme as well bacause tango-icon-theme -depends on it. After that you can try the command line above again, but -without "tango-icon-theme". - -More Informations to install the tango-icon-theme on Debian Lenny: -* http://packages.debian.org/en/lenny/all/tango-icon-theme/download - If you manage to install Noosfero successfully on other systems than Debian, please feel free to contact the Noosfero development mailing with the instructions for doing so, and we'll include it here. @@ -108,11 +97,11 @@ $ git checkout -b stable origin/stable downloading tarball ------------------- -Note: replace 0.27.1 below from the latest stable version. +Note: replace 0.35.0 below from the latest stable version. -$ wget http://noosfero.org/pub/Development/NoosferoVersion00x27x01/noosfero-0.27.1.tar.gz -$ tar -zxvf noosfero-0.27.1.tar.gz -$ ln -s noosfero-0.27.1 current +$ wget http://noosfero.org/pub/Development/NoosferoVersion00x35x00/noosfero-0.35.0.tar.gz +$ tar -zxvf noosfero-0.35.0.tar.gz +$ ln -s noosfero-0.35.0 current $ cd current Copy config/ferret_server.yml.dist to config/ferret_server.yml. You will @@ -126,15 +115,15 @@ Edit config/thin.yml to suit your needs. Make sure your apache configuration matches the thin cluster configuration, specially in respect to the ports and numbers of thin instances. -Note: currently Noosfero only supports Rails 2.1.0, which is the version in -Debian Lenny. If you have a Rails version newer than that, Noosfero will -probably not work. You can install Rails 2.1.0 into your Noosfero installation +Note: currently Noosfero only supports Rails 2.3.5, which is the version in +Debian Squeeze. If you have a Rails version newer than that, Noosfero will +probably not work. You can install Rails 2.3.5 into your Noosfero installation with the following procedure: $ cd /var/lib/noosfero/current/vendor -$ wget http://ftp.de.debian.org/debian/pool/main/r/rails/rails_2.1.0.orig.tar.gz -$ tar xzf rails_2.1.0.orig.tar.gz -$ ln -s rails-2.1.0 rails +$ wget http://ftp.de.debian.org/debian/pool/main/r/rails/rails_2.3.5.orig.tar.gz +$ tar xzf rails_2.3.5.orig.tar.gz +$ ln -s rails-2.3.5 rails As root user ============ @@ -151,12 +140,11 @@ so if you are planning to use a different database this steps won't apply. # su postgres -c 'createuser noosfero -S -d -R' By default Rails will try to connect on postgresql through 5432 port, but -Debian start postgresql on port 5433, then is needed to change postgresql to -start on port 5432 in /etc/postgresql/8.3/main/postgresql.conf file. +you can check it in /etc/postgresql/8.4/main/postgresql.conf file. Restart postgresql: -# invoke-rc.d postgresql-8.3 restart +# invoke-rc.d postgresql restart Noosfero needs a functional e-mail setup to work: the local mail system should be able to deliver e-mail to the internet, either directly or through an @@ -233,6 +221,16 @@ $ ./script/dbconsole production If it connects to your database, then everything is fine. If you got an error message, then you have to check your database configuration. +As root user +============ + +Install RubyGem Rack 1.0.1: + +$ gem install rack -v 1.0.1 + +As noosfero user +================ + Create the database structure: $ RAILS_ENV=production rake db:schema:load -- libgit2 0.21.2