Liste des Groupes | Revenir à cl ada |
Researching how to build an HTTP server (serving a website) on a local machine (MacOS) using AWS (Ada Web Server) and deploy it on a web hosting provider (e.g. 1dollar-webhosting.com).Adalog's site (https://www.adalog.fr/) is a standalone program written in Ada with AWS.
Anyone done that? I've searched but could not find.
Thanks.No
_____
Some specific questions on my mind follow.
Is a MacOS host required (e.g. Ultahost 15 euros/month; I'd rather stay with 1dollar)?
If the host runs on Linux then cross-building (from MacOS to Linux) required, right? GNAT does that, right?Never tried, but no reason it shouldn't be possible
Or, must the program be built in the host? (Thus requiring GNAT be there.)That's what I do
The host is already running an HTTP server program (probably Apache). Must it be turned off? How?Of course, you cannot have two programs listening on the same port, so if you want to listen to 80 or 8080, you'd better stop Apache (or any other program) to do that. As for me, I don't run Apache at all.
In general, can the executable be launched on a VPS (Virtual Private Server)? Which port?The port is given by the initial data of AWS
Will dynamic linking work? I'm guessing not, so, static; but then, will GNAT integrate the right libraries for Linux in the executable?You just compile your program like any other Ada program
Will "Community GNAT" do? (Instead of GNAT Pro.)Yes, that's what I do
Are those the right questions?All questions are right....
Thanks, thanks, thanks, thanks, thanks, thanks and thanks.You're welcome
Les messages affichés proviennent d'usenet.