On Sunday, 17 December 2017 at 17:06:32 UTC, cloutiy wrote:
Hi,
In the Javascript world there are services that provide a quick
and simple means of deploying websites.
I've used things like surge.sh, netlify. I'm sure there are
many others.
Is there something similar that exists for the D world?
Regards
The easiest way is to use Heroku. The getting started tutorial
here (https://tour.dlang.org/) has a guide for that.
The best option would be to run your app in docker (Heroku uses
docker under the hood) and run it in Google Cloud App Engine by
using one of the D vibe.d images in docker Hub. Its much
difficult to do if your not familiar with those stuff already.
Once you know how, you'll never look back. You may use their
Computer Engine (container powered by kubernetes directly) why
gives you freedom but involves more configurations.
AWS, and Azure can also be used in a similar way.
Heroku is the easiest one closer to surge. But using Draft
(https://draft.sh) could be much easier one you have it set up.
If the community can Get Microsoft developers to add D to Draft,
that will be the day web D services becomes as easy as now, surge
or netlify