Installing the comment notifier plugin in Mephisto

Written by thomas on May 2nd, 2007

After some work, this was what I had to do to install the notifier plugin.

There are two different plugins, and I ended up using the one from agileevolved after struggling for a long time with the other available notifier plugin.

If this is useful to you, read on...

Some of these steps are probably not necessary, but I'll include them anyway.

  1. Change Mephisto from the stable branch to the trunk.
    svn switch --relocate \
    http://svn.techno-weenie.net/projects/mephisto/branches/stable-0.7 \
    http://svn.techno-weenie.net/projects/mephisto/trunk
  2. Update rails.
    rake rails:freeze:edge TAG=rel_1-2-3
    rake rails:update
  3. Update the Mephisto installation.
    svn update
  4. Migrate the database. If this fails in the migration, remove the notifyer plugin, and try again.
    rake db:migrate
  5. Check out the plugin.
    mkdir vendor/plugins/mephistocommentnotification
    cd vendor/plugins/mephistocommentnotification
    svn co http://opensource.agileevolved.com/svn/root/rails_plugins/\
    mephistocommentnotification/trunk/ .
    cd ../../../
  6. Edit your config/environment.rb file to include the email config, as follows. If you need to use username and password, uncomment the last three lines. You can put this in the end of the file.
    ActionMailer::Base.smtp_settings = {
        :address=>'smtp.mydomain.com',    # default: localhost
        :domain=> 'mydomain.com',
        :port=>'25'                        # default: 25
        #:user_name=>'username',
        #:password=>'password',
        #:authentication=>:plain             # :plain, :login or :cram_md5
    }
  7. Restart your rails server, and you should be good to go.

I think this should do it, but if there are any missing steps here, please let me know.

Filed in:

Mephisto

Tags:

comment notifier plugin mephisto

Comments are closed

Sorry, comments are closed for this article.