I would like to install web apps that I developed myself on my Yunohost, which often require Python and/or Node.js. Is this possible with “Web App,” or is this only for HTML and PHP?
Such apps need to be packaged separately as indeed My WebApp only supports PHP.
Thanks, I already suspected that wouldn’t be possible.
For python apps, you can use my_webapp to store the code and to have dedicated unix user, then you may have to manually create your systemd service, then use a redirect app to proxy to your python app.
I would advise setting my_webapp without php nor sftp and set it for you or admins only, you may find tinyfilemanager helpful for small changes. Codeserver doesn’t have the right to access your project folder unless you make manual changes.
I forgot to mention that you can use yunohost app shell my_webapp to access your app/project folder with the correct ownership so you can create a venv
Good to know. But that’s a bit too complicated for me. I wanted to use the VPS I already use for Yunohost for my apps, but I think I will get another server just for that.
You are still welcome to propose your app in the wishlist, if it’s easy to package it could be added in a near future
I am working (still) on a package that should install django projects (upload your package to the server, give the install the location and install or just give it the url). It still needs more work, but I have included common django deployment procedures.
I can’t help you with node but if you have an app repo we can see what can be done