Skip to content

TheProfitwareGroup/profitplatformng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

profitplatform-ng

ProfitPlatform reincarnation.

Author: Sergey Sobko [email protected]

Introduction

ProfitPlatform is a software built on top of RabbitMQ using Erlang/OTP. It is capable of getting requests through JSON-RPC and executing Python code from MessageAPI.

Getting the code

The code is hosted at GitHub.

Check out the latest development version anonymously with:

 $ git clone git://github.com/TheProfitwareGroup/profitplatformng.git
 $ cd profitplatformng

Message queue server

ProfitPlatform depends on RabbitMQ server. It must be installed first.

Building

From source:

Install the dependencies:

In order to use message channels, first you need to install MessageAPI.

Getting dependencies (after Rebar is installed):

$ rebar get-deps

Compilation:

$ rebar compile

Usage

To run development environment (run more times to get automatically configured cloud instances)

$ cp default.config.example default.config
$ erl -pa ebin deps/*/ebin -eval "application:start(profitplatformng)" -config default

Publish message using SMSCPlugin from MessageAPI (default.config must be configured properly):

1> profitplatformng_mq:publish(smsc, [{phones, '79xxxxxxxxx'}, {message, 'Hello, world!'}]).

Releases

No releases published

Packages

No packages published

Languages