Package a Web App for 64-bit Distros

What is the best way to package a Web App for 64-bit distros? The targets will include desktops but most are expected to be servers.

Relevant to the general question is how to:

  • include 32-bit dependencies
  • automate the configuration of the Web App to run as a daemon

Anyone?

You may want to have a look there http://stackoverflow.com/questions/2419430/creating-an-installer-for-linux-application

Another approach could be to use a bash script to install the 32 bit packages but it looks challenging because you need to sudo. Maybe this can help : https://www.linuxquestions.org/questions/programming-9/sudo-in-shell-script-883142/

At any rate, given the numerous issues encountered when deploying web apps that are described throughout this forum, I am extremely skeptical about the potential of any automated packaging of a web app, especially under a 64 bit environment that requires 32 bit libraries to accept your app. You are probably in for a heck of support request amount :stuck_out_tongue:

Good luck.

[quote=86236:@Michel Bujardet]You may want to have a look there http://stackoverflow.com/questions/2419430/creating-an-installer-for-linux-application

Another approach could be to use a bash script to install the 32 bit packages but it looks challenging because you need to sudo. Maybe this can help : https://www.linuxquestions.org/questions/programming-9/sudo-in-shell-script-883142/

At any rate, given the numerous issues encountered when deploying web apps that are described throughout this forum, I am extremely skeptical about the potential of any automated packaging of a web app, especially under a 64 bit environment that requires 32 bit libraries to accept your app. You are probably in for a heck of support request amount :stuck_out_tongue:

Good luck.[/quote]
Thanks Michel.

I have been to the first link in the past and used the technique described in the second link in previous projects. Supporting 64-bit Linux distributions is looking more and more like a no-go until Xojo is able to generate 64-bit executables.

Since I posted this request for guidance, I’ve done more reading and experimenting. My hope was for some relatively easy solution that works across Linux distributions and handles the “Xojo on 64-bit Linux” headache. There is no easy solution, especially for the latter. With the exception of automating the installation of 32-bit dependencies, the solution appears to be a combination of deb/rpm packages and a Stand Alone Web App to handle the rest of the installation and configuration. An alternative to a Stand Alone Web App would be a Desktop App for GUIs and a Console App for CLIs (headless servers).

If and when I get to a reasonable level of automation, I’ll post a how-to tutorial for others interested in distributing Stand Alone Web Apps.

I’ve started a side project to create a Linux Package Maker to help guide a developer into creating a DEB, RPM and Tar file. I’ve just started however.