mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
cleaning up
This commit is contained in:
parent
fcffcc4ab9
commit
17d2075cd6
5 changed files with 2 additions and 7 deletions
|
@ -45,8 +45,6 @@ If you need to configure CodiMD, you can tweak `/var/www/codimd/config.json` fil
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
**Status**: In progress, do *not* consider this app as stable and fully working (yet)
|
|
||||||
|
|
||||||
## Additional information
|
## Additional information
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
|
@ -44,8 +44,6 @@ Si vous voulez configurer CodiMD, vous pouvez modifier votre fichier `/var/www/c
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
**Statut** : En cours, ne *pas encore* considérer cette application comme stable et fonctionnant.
|
|
||||||
|
|
||||||
## Informations additionnelles
|
## Informations additionnelles
|
||||||
|
|
||||||
## Liens
|
## Liens
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"production": {
|
"production": {
|
||||||
"protocolUseSSL": true,
|
"protocolUseSSL": true,
|
||||||
"domain": "__DOMAIN__",
|
"domain": "__DOMAIN__",
|
||||||
"port": __PORT__,
|
"port": "__PORT__",
|
||||||
"loglevel": "info",
|
"loglevel": "info",
|
||||||
"useCDN": false,
|
"useCDN": false,
|
||||||
"allowGravatar": false,
|
"allowGravatar": false,
|
||||||
|
|
|
@ -48,7 +48,7 @@ ynh_script_progression --message="Configuring firewall..." --weight=2
|
||||||
|
|
||||||
# Find an available port
|
# Find an available port
|
||||||
port=$(ynh_find_port --port=3000)
|
port=$(ynh_find_port --port=3000)
|
||||||
ynh_app_setting_set --app="$app" --key="port" --value="$port"
|
ynh_app_setting_set --app="$app" --key="port" --value="$port"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# STORE SETTINGS FROM MANIFEST
|
||||||
|
|
|
@ -22,7 +22,6 @@ is_public=$(ynh_app_setting_get --app=$app --key=is_public)
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
|
|
||||||
# Add settings here as needed by your application
|
|
||||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||||
db_user=$(ynh_app_setting_get --app=$app --key=db_user)
|
db_user=$(ynh_app_setting_get --app=$app --key=db_user)
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
|
||||||
|
|
Loading…
Add table
Reference in a new issue