Minor copy-editing

This commit is contained in:
Spencer Dub 2021-05-18 17:50:56 -07:00 committed by GitHub
parent 00fd651699
commit e280ae5442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ To be able to do that, we need to remember that YunoHost at its core is a server
If you have ever installed a web application manually, you already know that the process is in reality far more complex, usually involving a lot of steps and discipline.
This is what application packaging is, a series of scripts that automate the installation of a web application and its configuration in order to provide the final user with a few clicks installation process.
This is what application packaging is: a series of scripts that automate the installation of a web application and its configuration in order to provide the final user with a few clicks installation process.
### How it works
@ -31,12 +31,14 @@ From the final user perspective, it is as simple as it can be:
4. Application is ready to use
There is more to see backstage:
First, when the application is selected, YunoHost will retrieve the corresponding package from github. eg: [Custom Webapp](https://github.com/YunoHost-Apps/my_webapp_ynh).
Then, YunoHost will read the manifest.json file to know what questions to ask the user through the form.
These seamingly trivial questions are very important. Usually you would need to ask for the domain on which to install, the path to access, the user that will be designated administrator and the default language for the application.
These seemingly trivial questions are very important. Usually you would need to ask for the domain on which to install, the path to access, the user that will be designated administrator and the default language for the application.
These are critical to configure appropriately the web application during the installation process. To do so, YunoHost will retrieve the answers given by the user and send them to the installation script located in the package "*scripts*" folder.
These are critical to appropriately configure the web application during the installation process. To do so, YunoHost will retrieve the answers given by the user and send them to the installation script located in the package "*scripts*" folder.
The install script will handle the user answers to complete the process as you would have done manually.
@ -54,9 +56,9 @@ You can ony interact with your server through the command line as it does not pr
Package scripts are therefore a series of bash commands as if you had typed them directly in the ssh console.
To know what you can write in a bash script, you should start reading this [simple tutorial](https://debian-facile.org/doc:programmation:shells:debuter-avec-les-scripts-shell-bash) or this [more advanced one](http://aral.iut-rodez.fr/fr/sanchis/enseignement/bash/index.html).
To learn what you can write in a bash script, you should start reading this [simple tutorial](https://debian-facile.org/doc:programmation:shells:debuter-avec-les-scripts-shell-bash) or this [more advanced one](http://aral.iut-rodez.fr/fr/sanchis/enseignement/bash/index.html).
### Ok, I'm good! Where do I start?
### Okay, I'm good! Where do I start?
Before starting the packaging process, you need to successfully install the application. The script will only perform what you instruct it to do.