From 1e731950d83363fbee81f041b3b6247941b320c5 Mon Sep 17 00:00:00 2001 From: titoko titoko Date: Wed, 27 Nov 2013 12:55:54 +0100 Subject: [PATCH] initial commit --- conf/hosts.xml | 14 ++++++++++++++ conf/main.xml | 32 ++++++++++++++++++++++++++++++++ conf/nginx.conf | 13 +++++++++++++ manifest.json | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 conf/hosts.xml create mode 100644 conf/main.xml create mode 100644 conf/nginx.conf create mode 100644 manifest.json diff --git a/conf/hosts.xml b/conf/hosts.xml new file mode 100644 index 0000000..ddd42dd --- /dev/null +++ b/conf/hosts.xml @@ -0,0 +1,14 @@ + + +
DOMAINTOCHANGE
+ muc.DOMAINTOCHANGE + pubsub.DOMAINTOCHANGE + vjud.DOMAINTOCHANGE + anonymous.DOMAINTOCHANGE + https://DOMAINTOCHANGEPATHTOCHANGE/http-bind + + + + + off +
diff --git a/conf/main.xml b/conf/main.xml new file mode 100644 index 0000000..ecdb602 --- /dev/null +++ b/conf/main.xml @@ -0,0 +1,32 @@ + + + YunoJappix + a free social network + + + + YunoJappix + on + off + on + off + on + + off + on + off + off + off + off + + + off + + + off + off + off + off + /usr/bin/metronomectl + metronome + diff --git a/conf/nginx.conf b/conf/nginx.conf new file mode 100644 index 0000000..0c64a25 --- /dev/null +++ b/conf/nginx.conf @@ -0,0 +1,13 @@ +location PATHTOCHANGE { + alias ALIASTOCHANGE ; + index index.php; + try_files $uri $uri/ index.php; + location ~ [^/]\.php(/|$) { + fastcgi_split_path_info ^(.+?\.php)(/.*)$; + fastcgi_pass unix:/var/run/php5-fpm.sock; + fastcgi_index index.php; + include fastcgi_params; + fastcgi_param REMOTE_USER $remote_user; + fastcgi_param PATH_INFO $fastcgi_path_info; + } +} diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..54f1a21 --- /dev/null +++ b/manifest.json @@ -0,0 +1,33 @@ +{ + "name": "Jappix", + "id": "jappix", + "description": { + "en": "A free social network", + "fr": "Un reseau social libre" + }, + "developer": { + "name": "titoko", + "email": "titoko@titoko.fr", + "url": "http://dev.yunohost.org" + }, + "multi_instance": "true", + "arguments": { + "install" : [ + { + "name": "domain", + "ask": { + "en": "Choose a domain for Jappix" + }, + "example": "domain.org" + }, + { + "name": "path", + "ask": { + "en": "Choose a path for Jappix" + }, + "example": "/jappix", + "default": "/jappix" + } + ] + } +}