Tuesday, March 10, 2015

Mifos X Messenger Installation

Mifos X Messenger, the SMS Messaging System which sends SMS messages at different points in the Mifos X workflow can be installed by following these steps. I've tested out these steps for Debian / Ubuntu and it should be similar for Mac OSX, plus we've also been able to install on Windows, where step 1 is not applicable, but other steps are similar:

1. Install ruby version manager rvm see https://rvm.io/rvm/install:

    \curl -sSL https://get.rvm.io | bash -s stable --rails

2. Download messenger source code:

      git clone https://github.com/SanjoseSolutions/mifosx-messenger.git

3. Install dependencies

   bundle install

4. Configure mifosx-messenger

   setup config.yml

5.  Run messenger

   ruby app.rb

6. Setup Mifos X Webhooks to connect with MifosX Messenger

  In Mifos X go to Admin > System > Manage Hooks
  Click "Create Hook"
  Hook Template: Web

  Active: checked
  Content Type: json
  Payload URL: http://localhost:3000
  Events: transactions_loan : LOAN : REPAYMENT
                transactions_savings: SAVINGSACCOUNT: WITHDRAWAL 
                transactions_savings: SAVINGSACCOUNT: DEPOSIT

More details, video coming soon

4 comments:

  1. it uses a MessageTemplate class to construct the SMS and sends it to the mobile number of the client. Apps To Track Cell Phones

    ReplyDelete
  2. am trying to do the installation, and am stuck at step 3. Install dependencies. bundle install.

    Inside which folder should step number 3 be executed in.
    when i excetue the same, both inside the Mifosx-messenger or outside i get the follwing notification:

    mifosx-messenger# bundle install
    The program 'bundle' can be found in the following packages:
    * bundler
    * ruby-bundler

    Please advice.
    Try: apt-get install

    ReplyDelete
  3. i have been trying to install on windows but i have not succeeded so far. can you please assist. thank you

    ReplyDelete
  4. How to cnfigure mifosx-messenger

    setup config.yml

    ReplyDelete