my_webapp_ynh/doc/DESCRIPTION.md
Antoine Lima 9c6143df27
Add NodeJS server as an alternative to PHP
This adds:
- Two entries in the manifest:
    - A choice for the NodeJS version
    - A port (provisionned in any case due to ynh limitations, but this should not matter)
- Services and configs:
    - Systemctl configs to run the NodeJS server
    - A watcher service and path to restart NodeJS upon file update
    - A custom NGinx config because it is incompatible with the default one
- Docs:
    - More info in the description and admin

The install/remove/backup/restore have been adapted and tested.
The upgrade script is updated but not tested
The change_url script does not change

It is not possible to have both PHP and NodeJS to keep the scripts simple.
2024-03-10 14:43:30 +01:00

859 B

This application allows you to easily install a custom Web application, providing files access with SFTP.

It can also create a MySQL database - which will be backed up and restored with your application. The connection details will be stored in the file db_access.txt located in the root directory.

PHP-FPM version can also be selected among none, 7.4, 8.0, 8.1 and 8.2.

Finally, NodeJS can alternatively be used instead of PHP, with versions 18, 20 or 21.

Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access. The password is one you chosen during the installation. Under the Web directory, you will see a www folder which contains the public files served by this app. You can put all the files of your custom Web application inside.