Commit 3183c63b4c5e8d39e46f0db20871a6bcfee80018
1 parent
d4aa93ac
Exists in
master
and in
28 other branches
Review INSTALL file
Showing
1 changed file
with
26 additions
and
36 deletions
Show diff stats
INSTALL
| ... | ... | @@ -104,11 +104,11 @@ $ git checkout -b stable origin/stable |
| 104 | 104 | downloading tarball |
| 105 | 105 | ------------------- |
| 106 | 106 | |
| 107 | -Note: replace 0.35.0 below from the latest stable version. | |
| 107 | +Note: replace 0.39.0 below from the latest stable version. | |
| 108 | 108 | |
| 109 | -$ wget http://noosfero.org/pub/Development/NoosferoVersion00x35x00/noosfero-0.35.0.tar.gz | |
| 110 | -$ tar -zxvf noosfero-0.35.0.tar.gz | |
| 111 | -$ ln -s noosfero-0.35.0 current | |
| 109 | +$ wget http://noosfero.org/pub/Development/NoosferoVersion00x39x00/noosfero-0.39.0.tar.gz | |
| 110 | +$ tar -zxvf noosfero-0.39.0.tar.gz | |
| 111 | +$ ln -s noosfero-0.39.0 current | |
| 112 | 112 | $ cd current |
| 113 | 113 | |
| 114 | 114 | Copy config/solr.yml.dist to config/solr.yml. You will |
| ... | ... | @@ -187,19 +187,6 @@ $ ./script/dbconsole production |
| 187 | 187 | If it connects to your database, then everything is fine. If you got an error |
| 188 | 188 | message, then you have to check your database configuration. |
| 189 | 189 | |
| 190 | -Installing gem rack | |
| 191 | -=================== | |
| 192 | - | |
| 193 | -This gem is required if you want to run Mezuro plugin. | |
| 194 | - | |
| 195 | -Install RubyGem Rack 1.0.1. | |
| 196 | -Others versions may not be compatible with Noosfero: | |
| 197 | - | |
| 198 | -# gem install rack -v 1.0.1 | |
| 199 | - | |
| 200 | -As noosfero user | |
| 201 | -================ | |
| 202 | - | |
| 203 | 190 | Create the database structure: |
| 204 | 191 | |
| 205 | 192 | $ RAILS_ENV=production rake db:schema:load |
| ... | ... | @@ -228,10 +215,10 @@ $ RAILS_ENV=production ./script/runner "Environment.default.domains << Domain.ne |
| 228 | 215 | |
| 229 | 216 | Add at least one user as admin of environment: |
| 230 | 217 | |
| 231 | -$ RAILS_ENV=production ./script/runner "User.create(:login => 'adminuser', :email => 'admin@example.com', :password => 'admin', :password_confirmation => 'admin', :environment => Environment.default)" | |
| 218 | +$ RAILS_ENV=production ./script/runner "User.create(:login => 'adminuser', :email => 'admin@example.com', :password => 'admin', :password_confirmation => 'admin', :environment => Environment.default, :activated_at => Time.new)" | |
| 232 | 219 | |
| 233 | 220 | (replace "adminuser", "admin@example.com", "admin" with the login, email |
| 234 | -and password of your environment admin) | |
| 221 | +and password of your environment administrator) | |
| 235 | 222 | |
| 236 | 223 | To start the Noosfero application servers: |
| 237 | 224 | |
| ... | ... | @@ -241,23 +228,6 @@ At this point you have a functional Noosfero installation running, the only |
| 241 | 228 | thing left is to configure your webserver as a reverse proxy to pass requests |
| 242 | 229 | to them. |
| 243 | 230 | |
| 244 | -Enabling exception notifications | |
| 245 | -================================ | |
| 246 | - | |
| 247 | -This is an optional step. You will need it only if you want to receive e-mail | |
| 248 | -notifications when some exception occurs on Noosfero. | |
| 249 | - | |
| 250 | -First, install this version of the gem. | |
| 251 | -Others versions may not be compatible with Noosfero: | |
| 252 | - | |
| 253 | -# gem install exception_notification -v 1.0.20090728 | |
| 254 | - | |
| 255 | -You can configure the e-mails that will receive the notifications. | |
| 256 | -Change the file config/noosfero.yml as the following example, replacing the | |
| 257 | -e-mails by real ones: | |
| 258 | - | |
| 259 | - production: | |
| 260 | - exception_recipients: [admin@example.com, you@example.com] | |
| 261 | 231 | |
| 262 | 232 | ================== |
| 263 | 233 | Apache instalation |
| ... | ... | @@ -351,6 +321,26 @@ Now restart your apache server (as root): |
| 351 | 321 | |
| 352 | 322 | # invoke-rc.d apache2 restart |
| 353 | 323 | |
| 324 | + | |
| 325 | +Enabling exception notifications | |
| 326 | +================================ | |
| 327 | + | |
| 328 | +This is an optional step. You will need it only if you want to receive e-mail | |
| 329 | +notifications when some exception occurs on Noosfero. | |
| 330 | + | |
| 331 | +First, install this version of the gem. | |
| 332 | +Others versions may not be compatible with Noosfero: | |
| 333 | + | |
| 334 | +# gem install exception_notification -v 1.0.20090728 | |
| 335 | + | |
| 336 | +You can configure the e-mails that will receive the notifications. | |
| 337 | +Change the file config/noosfero.yml as the following example, replacing the | |
| 338 | +e-mails by real ones: | |
| 339 | + | |
| 340 | + production: | |
| 341 | + exception_recipients: [admin@example.com, you@example.com] | |
| 342 | + | |
| 343 | + | |
| 354 | 344 | ============ |
| 355 | 345 | Maintainance |
| 356 | 346 | ============ | ... | ... |