In your newly created repo, go and edit manifest.json. It’s easy to understand and depending and your software you can add or delete arguments. in your case, the services you’ll need are only nginx.
when saving the manifest, create a new branch called testing, validate but don’t merge
now go to the scripts folder and open install script
read carefully the info in the scripts, it’s very helpful
after going through all the scripts, go and check the conf folder where you have app.src (where you’ll define the source file of your app, its hash, etc) and of course the nginx config
don’t forget the check_process file at the root of your package, it’s where you define what to check in your package
to test your package, install yunohost in a virtual machine, after running the postinstall, the first user, the domain and the system update, make a snapshot of your virtual machine then begin the test by installing your app in apps>install> at the end of the page input the github link for your testing branch, accept the warning and install.
your first tries will probably fail, or not and don’t worry. check the logs to understand what’s wrong
fix it and retry the install but before that, restore the snapshot since the virtual machine have been modified and won’t be reliable
I have noted that in some cases the virtual machine looses the time and date, I had to run sudo systemctl restart ntp
don’t worry, at first it seems hard but with time it’ll be much easier
I think I’ll look for ‘reference packages’ for every environnement to ease the creation of new packages for the future
don’t hesitate to ask