Deploying Vibe.d applications to OpenShift

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 23 20:04:51 PDT 2014


On 24/07/2014 2:48 p.m., Rutger wrote:
> On Thursday, 24 July 2014 at 01:47:43 UTC, Rikki Cattermole wrote:
>> On 24/07/2014 1:28 p.m., Rutger wrote:
>>> Hello! Really enjoying D so far and have started to toy around
>>> with Vibe.d.
>>> I was just wondering if someone here has had any experience with
>>> publishing vibe applications on the OpenShift Paas?
>>> (https://www.openshift.com)
>>>
>>> Please let me know how you did it, because I know it's possible
>>> with the DIY-cartridge they provide you(atleast it should be).
>>
>> I was looking into it a while back. Its not so much the cartridges
>> which are a problem. They are pretty easy to make. The issue is with
>> the gears. 2gb is the max and most expensive.
>> But with D unless your very careful 1gb is more the norm. Atleast in
>> my tests with Cmsed.
>> Also you will need to find a way to compile for their instances OS.
>> Could be an issue as its most likely redhat (as its owned by them).
>>
>> But they have a free plan. Might as well have a go.
>
>
> Right now I've managed to try and start the binary but it logs an
> error because the required libraries can't be found. Also do you
> know if it's possible to compile a binary on ubuntu that will be
> compatible with RHEL/Fedora?

Its possible, but not really worth it. Use a VM of some sort if you must.
You may need to distribute the dependency binaries with it.


More information about the Digitalmars-d-learn mailing list