Skip to content

venkatpilla/erlcart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erlcart

This effort aims to create convenient support for Erlang web server for redhat's OpenShift. Development is easier due to OpenShift's scaling, automated builds and deployment but also limits the structure and usage of application.

Exhaustive documentation on www.openshift.com provides essential information for usage and deployment. Few additional steps required by erlang cartridge are described below.

What this cartridge currently offers?

  • Erlang/OTP 17.5.5 - pre-build
  • rebar 2.5.1 - tool for application build

What it supports?

Currently cartridge has been tested with Cowboy web server, thanks to uniform OTP development and file structure, it is assumed that any web server following OTP principles is supported as well.

How do I create the application?

Create the application in OpenShift, add manifest from this repository, clone applications repository and push your OTP application's code. The cartridge will take care of automated build and deployment. In case you are not familiar with Cowboy and web development in OTP, there is barebone app created for your convenience in /template/.

rhc create-app erl-app https://raw.githubusercontent.com/wozniakjan/erlcart/master/metadata/manifest.yml

Are there any examples running around?

Apart from others, there are two apps running:

  1. test application from /template/

  2. camchat HTML5 based web video conference (which is more proof of concept than actuall application, work is in progress and far from being finished, but hopefully testable)

That's it?

yep.

About

Erlang OpenShift Cartridge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 52.5%
  • Shell 47.5%