How to run d app as service ?
Seb
seb at wilzba.ch
Mon Feb 19 16:17:38 UTC 2018
On Monday, 19 February 2018 at 12:29:12 UTC, Jayam wrote:
> In production server, we need to run Dlang app as service.
If you are looking for a PaaS (platform as a service), using
Heroku is pretty easy:
https://tour.dlang.org/tour/en/vibed/deploy-on-heroku
Also as other mentioned, everything else is similar to how you
would do it with any other compiled language, e.g. Systemd
People nowadays seems to be preferring Docker for deployment, you
can just COPY the built binary into any container or
alternatively you can build it in Docker too:
https://github.com/wilzbach/dlang-docker/blob/master/example-app/Dockerfile
More information about the Digitalmars-d
mailing list