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

Reply via email to