diff --git a/conf/environ b/conf/environ index 0b8fe7e..9a4a52c 100644 --- a/conf/environ +++ b/conf/environ @@ -3,8 +3,9 @@ export PENPOT_LDAP_HOST=localhost export PENPOT_LDAP_PORT=389 export PENPOT_LDAP_SSL=false export PENPOT_LDAP_STARTTLS=false -export PENPOT_LDAP_BASE_DN=ou=users,dc=yunohost,dc=org -export PENPOT_LDAP_BIND_DN=cn=admin,dc=planetexpress,dc=com +export PENPOT_LDAP_BASE_DN='ou=users,dc=yunohost,dc=org' +export PENPOT_LDAP_BIND_DN='' +export PENPOT_LDAP_BIND_PASSWORD='' export PENPOT_LDAP_USER_QUERY="(|(uid=:username)(mail=:username))" export PENPOT_LDAP_ATTRS_USERNAME=uid export PENPOT_LDAP_ATTRS_EMAIL=mail diff --git a/doc/ADMIN.md b/doc/ADMIN.md deleted file mode 100644 index 2eb5f64..0000000 --- a/doc/ADMIN.md +++ /dev/null @@ -1,3 +0,0 @@ -This is a dummy admin doc for this app - -The app install dir is `__INSTALL_DIR__` diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md deleted file mode 100644 index 4874550..0000000 --- a/doc/ADMIN_fr.md +++ /dev/null @@ -1,3 +0,0 @@ -Ceci est une fausse doc d'admin pour cette app - -Le dossier d'install de l'app est `__INSTALL_DIR__` diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index bb45e69..521ce52 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1 +1 @@ -This is a dummy description of this app features +Penpot is a design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, Penpot is web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. \ No newline at end of file diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md index f42358d..d704a06 100644 --- a/doc/POST_INSTALL.md +++ b/doc/POST_INSTALL.md @@ -1,7 +1,3 @@ -This is a dummy disclaimer to display after the install - The app url is -The app install dir is `__INSTALL_DIR__` - -The app id is `__ID__` +You can log in by using `@__DOMAIN__` e-mail and your Yunohost password. \ No newline at end of file diff --git a/doc/POST_UPGRADE.md b/doc/POST_UPGRADE.md deleted file mode 100644 index e080a44..0000000 --- a/doc/POST_UPGRADE.md +++ /dev/null @@ -1 +0,0 @@ -This is a dummy disclaimer to display after upgrades diff --git a/doc/PRE_INSTALL.md b/doc/PRE_INSTALL.md deleted file mode 100644 index 2c7693d..0000000 --- a/doc/PRE_INSTALL.md +++ /dev/null @@ -1 +0,0 @@ -This is a dummy disclaimer to display prior to the install diff --git a/doc/PRE_INSTALL_fr.md b/doc/PRE_INSTALL_fr.md deleted file mode 100644 index 0f01ad1..0000000 --- a/doc/PRE_INSTALL_fr.md +++ /dev/null @@ -1 +0,0 @@ -Ceci est un faux disclaimer à présenter avant l'installation diff --git a/doc/PRE_UPGRADE.md b/doc/PRE_UPGRADE.md deleted file mode 100644 index 0c38528..0000000 --- a/doc/PRE_UPGRADE.md +++ /dev/null @@ -1 +0,0 @@ -This is a dummy disclaimer to display prior to any upgrade diff --git a/doc/screenshots/189871786-0b44f7cf-3a0a-4445-a87b-9919ec398bf7.gif b/doc/screenshots/189871786-0b44f7cf-3a0a-4445-a87b-9919ec398bf7.gif new file mode 100644 index 0000000..703f756 Binary files /dev/null and b/doc/screenshots/189871786-0b44f7cf-3a0a-4445-a87b-9919ec398bf7.gif differ diff --git a/doc/screenshots/example.jpg b/doc/screenshots/example.jpg deleted file mode 100644 index a1efa1a..0000000 Binary files a/doc/screenshots/example.jpg and /dev/null differ diff --git a/scripts/install b/scripts/install index 77bca85..6486a4f 100644 --- a/scripts/install +++ b/scripts/install @@ -153,6 +153,8 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" ynh_script_progression --message="Adding app's configuration file..." ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" +chmod 755 "$install_dir/frontend/js/config.js" +chown $app:www-data "$install_dir/frontend/js/config.js" ynh_add_config --template="environ" --destination="$install_dir/backend/environ" chmod 400 "$install_dir/backend/environ"