Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 19:16:48 -0500
From:      Joe Love <joe@getsomewhere.net>
To:        Dave Cottlehuber <dch@skunkwerks.at>
Cc:        freebsd-erlang@freebsd.org
Subject:   Re: Deploying program on erlang runtime 21
Message-ID:  <cda54678-c9c1-a15b-e7cb-95e027b2888a@getsomewhere.net>
In-Reply-To: <86871724-5270-4765-886b-83775ca112f4@www.fastmail.com>
References:  <4259DD93-00E2-4EB6-A1C3-DC4CBCEDD34C@getsomewhere.net> <36da7161-b304-4456-8027-d12eba2ac217@www.fastmail.com> <18BC9005-CDE4-43A8-8EC0-F4D7556E20EC@getsomewhere.net> <80e2288e-c7f8-f5f8-7551-65b2433b4201@gjunka.com> <86871724-5270-4765-886b-83775ca112f4@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/30/2019 6:12 PM, Dave Cottlehuber wrote:
>> On 30/05/2019 20:48, Joe Love wrote:
>>>> On May 30, 2019, at 7:50 AM, Dave Cottlehuber <dch@skunkwerks.at> wrote:
>>>>
>>>> On Wed, 29 May 2019, at 20:31, Joe Love wrote:
>>>>> Hi,
>>>>>
>>>>> I’ve been trying to wrap my head around creating my Elixir-based
>>>>> projects on my client workstations (which are not freebsd) and
>>>>> deploying them to a FreeBSD server using the erlang-runtime-21 package.
> Hi Joe
>
> https://github.com/skunkwerks/hello/ contains about 80% of a blog post in the
> README, it's a minimal phoenix project with the build goop to produce a native
> FreeBSD package. This, and pkg-repo behind a webserver allows you to
> deploy only with pkg.
>
> I stripped out all the (IMO) messy bash scripts, and the rc.d script does the
> minimum needed. I assume in most cases you'll want to use distributed
> erlang and you either pass that in with erl_flags or in vm.args as appropriate.
>
> It's possible to add extra stuff in the manifest to start or stop your app
> directly, but I prefer to do that via ansible.
>   
> Let me know if anything's not clear. I hope it's useful for you, and PRs are
> welcome for any improvements.
>
> A+
> Dave


Thanks Dave.  I'll have to get some time to get through what you've got 
built here and understand it.


-Joe





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cda54678-c9c1-a15b-e7cb-95e027b2888a>