diff --git a/conf/config.json.example b/conf/config.json.example index d9ee314..8442e68 100644 --- a/conf/config.json.example +++ b/conf/config.json.example @@ -32,9 +32,9 @@ "addGoogleAnalytics": true }, "db": { - "username": "codimd", - "password": "codimd", - "database": "codimd", + "username": "__DB_USER__", + "password": "__DB_PASS__", + "database": "__DB_NAME__", "host": "localhost", "port": "5432", "dialect": "postgres" diff --git a/manifest.json b/manifest.json index 8bf68d3..886171d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { - "name": "EmbyServer", - "id": "embyserver", + "name": "CodiMD", + "id": "codimd", "packaging_format": 1, "description": { - "en": "EmbyServer package for YunoHost.", - "fr": "EmbyServer pour YunoHost." + "en": "CodiMD package for YunoHost.", + "fr": "CodiMD pour YunoHost." }, "version": "3.5.3.0", "url": "https://emby.media/", @@ -27,8 +27,8 @@ "name": "domain", "type": "domain", "ask": { - "en": "Choose a domain name for EmbyServer", - "fr": "Choisissez un nom de domaine pour EmbyServer" + "en": "Choose a domain name for CodiMD", + "fr": "Choisissez un nom de domaine pour CodiMD" }, "example": "example.com" }, @@ -37,11 +37,44 @@ "name": "path", "type": "path", "ask": { - "en": "Choose a path for EmbyServer /emby is accepted", - "fr": "Choisissez un chemin pour EmbyServer /emby est accepté" + "en": "Choose a path for CodiMD /emby is accepted", + "fr": "Choisissez un chemin pour CodiMD /emby est accepté" }, - "example": "/emby", - "default": "/emby" + "example": "/codimd", + "default": "/codimd" + }, + + { + "name": "db_user", + "type": "string", + "ask": { + "en": "What user name for the DB ?", + "fr": "Quel nom d'utilisateur pour la DB ?" + }, + "example": "codimd", + "default": "codimd" + }, + + { + "name": "db_pass", + "type": "string", + "ask": { + "en": "What password for the DB ?", + "fr": "Quel mot de passe pour la DB ?" + }, + "example": "codimd", + "default": "codimd" + }, + + { + "name": "db_name", + "type": "string", + "ask": { + "en": "What name for the DB ?", + "fr": "Quel nom pour la DB ?" + }, + "example": "codimd", + "default": "codimd" }, {