Commit 13d5c3d818aa755d7939748529cfc88fe52e1c5c
1 parent
f24c277d
Exists in
master
and in
22 other branches
Moving solr information form INSTALL file to the plugin
Showing
3 changed files
with
26 additions
and
9 deletions
Show diff stats
INSTALL
| @@ -33,7 +33,7 @@ You need to install some packages Noosfero depends on. On Debian GNU/Linux or | @@ -33,7 +33,7 @@ You need to install some packages Noosfero depends on. On Debian GNU/Linux or | ||
| 33 | Debian-based systems, all of these packages are available through the Debian | 33 | Debian-based systems, all of these packages are available through the Debian |
| 34 | archive. You can install them with the following command: | 34 | archive. You can install them with the following command: |
| 35 | 35 | ||
| 36 | - # 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 openjdk-6-jre libdaemons-ruby thin tango-icon-theme libhpricot-ruby | 36 | + # 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 libdaemons-ruby thin tango-icon-theme libhpricot-ruby |
| 37 | 37 | ||
| 38 | On other systems, they may or may not be available through your regular package | 38 | On other systems, they may or may not be available through your regular package |
| 39 | management system. Below are the links to their homepages. | 39 | management system. Below are the links to their homepages. |
| @@ -43,7 +43,6 @@ management system. Below are the links to their homepages. | @@ -43,7 +43,6 @@ management system. Below are the links to their homepages. | ||
| 43 | * po4a: http://po4a.alioth.debian.org/ | 43 | * po4a: http://po4a.alioth.debian.org/ |
| 44 | * Ruby-sqlite3: http://rubyforge.org/projects/sqlite-ruby | 44 | * Ruby-sqlite3: http://rubyforge.org/projects/sqlite-ruby |
| 45 | * rcov: http://eigenclass.org/hiki/rcov | 45 | * rcov: http://eigenclass.org/hiki/rcov |
| 46 | -* Solr: http://lucene.apache.org/solr | ||
| 47 | * RMagick: http://rmagick.rubyforge.org/ | 46 | * RMagick: http://rmagick.rubyforge.org/ |
| 48 | * RedCloth: http://redcloth.org/ | 47 | * RedCloth: http://redcloth.org/ |
| 49 | * will_paginate: http://github.com/mislav/will_paginate/wikis | 48 | * will_paginate: http://github.com/mislav/will_paginate/wikis |
| @@ -111,9 +110,6 @@ $ tar -zxvf noosfero-0.39.0.tar.gz | @@ -111,9 +110,6 @@ $ tar -zxvf noosfero-0.39.0.tar.gz | ||
| 111 | $ ln -s noosfero-0.39.0 current | 110 | $ ln -s noosfero-0.39.0 current |
| 112 | $ cd current | 111 | $ cd current |
| 113 | 112 | ||
| 114 | -Copy config/solr.yml.dist to config/solr.yml. You will | ||
| 115 | -probably not need to customize this configuration, but have a look at it. | ||
| 116 | - | ||
| 117 | Create the thin configuration file: | 113 | Create the thin configuration file: |
| 118 | 114 | ||
| 119 | $ thin -C config/thin.yml -e production config | 115 | $ thin -C config/thin.yml -e production config |
| @@ -195,10 +191,6 @@ Compile the translations: | @@ -195,10 +191,6 @@ Compile the translations: | ||
| 195 | 191 | ||
| 196 | $ RAILS_ENV=production rake noosfero:translations:compile | 192 | $ RAILS_ENV=production rake noosfero:translations:compile |
| 197 | 193 | ||
| 198 | -Run Solr: | ||
| 199 | - | ||
| 200 | -$ rake solr:start | ||
| 201 | - | ||
| 202 | Now we must create some initial data. To create your default environment | 194 | Now we must create some initial data. To create your default environment |
| 203 | (the first one), run the command below: | 195 | (the first one), run the command below: |
| 204 | 196 |
| @@ -0,0 +1,19 @@ | @@ -0,0 +1,19 @@ | ||
| 1 | +(THIS INSTALL IS INCOMPLETE) | ||
| 2 | + | ||
| 3 | +Dependencies | ||
| 4 | +============ | ||
| 5 | + | ||
| 6 | +apt-get install openjdk-6-jre | ||
| 7 | + | ||
| 8 | +* Solr: http://lucene.apache.org/solr | ||
| 9 | + | ||
| 10 | +Instalation | ||
| 11 | +=========== | ||
| 12 | + | ||
| 13 | +$ rake solr:download | ||
| 14 | + | ||
| 15 | +Running the server | ||
| 16 | +================== | ||
| 17 | +Run Solr | ||
| 18 | + | ||
| 19 | +$ rake solr:start |