diff --git a/README.md b/README.md index 7858100..7e946b7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Mobilizon for YunoHost [![Integration level](https://dash.yunohost.org/integration/mobilizon.svg)](https://dash.yunohost.org/appci/app/mobilizon) -[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/mobilizon_ynh%20(yalh76)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/mobilizon_ynh%20(yalh76)/) [![Install Mobilizon with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=mobilizon) > *This package allow you to install Mobilizon quickly and simply on a YunoHost server. @@ -14,16 +13,26 @@ MobiliZon aims to solve existing platform's problems to organize events in a dec Mobilizon is a tool designed to create platforms for managing communities and events. Its purpose is to help as many people as possible to free themselves from Facebook groups and events, from Meetup, etc. -**Shipped version:** 0.1.0-2019-04-11 +**Shipped version:** 0.1.0-2019-04-23 ## Important 1. **Mobilizon** is in early development, like an Alpha, all functionalities are not available 1. **Mobilizon** require a dedicated **root domain**, eg. mobilizon.domain.tld 1. Even if requested during installation: admin, language and password variables are not used +1. Admin Dashboard is still not implemented 1. When your mobilizon instance is installed, you need to register. 1. When registered to be admin you have to manually goes in PostgreSQL, database $app, table users, and change the role value to `administrator` instead of `user` (other role available: `moderator`) -1. Admin Dashboard is still not implemented + +Example to manually put user with id=1 as administrator: +```bash +su -l postgres +psql +\c mobilizon +UPDATE public.users SET role='administrator' where id=1; +\q +exit +``` ## Screenshots diff --git a/conf/.yarnrc b/conf/.yarnrc deleted file mode 100644 index 9bc2065..0000000 --- a/conf/.yarnrc +++ /dev/null @@ -1 +0,0 @@ -network-timeout 600000 \ No newline at end of file diff --git a/conf/app.src b/conf/app.src index 1e507c8..0152de0 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/6bf903f9d79dc4f24c35d9e21ebe45abbc0924ed/mobilizon-6bf903f9d79dc4f24c35d9e21ebe45abbc0924ed.tar.gz -SOURCE_SUM=2ba82d8771ec0374cbb9708d55a48e5785310429cc017e242f33c6ec119fff58 +SOURCE_URL=https://framagit.org/framasoft/mobilizon/-/archive/13b8f5746822b4875e7135cbc725d531b5d207cc/mobilizon-13b8f5746822b4875e7135cbc725d531b5d207cc.tar.gz +SOURCE_SUM=40e20a67003bd100a0fd5de97112981049714e3ec1db8faaa5f0a07e5b2103ec SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 5fe7b8c..8eb4331 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Your federated organization and mobilization platform.", "fr": "Votre plateforme fédérée d'organisation et de mobilisation." }, - "version": "0.1.0-2019-04-12~ynh2", + "version": "0.1.0-2019-04-23~ynh1", "url": "https://joinmobilizon.org/", "license": "AGPL-3.0-or-later", "maintainer": { diff --git a/scripts/install b/scripts/install index 67411a5..7bb7a69 100644 --- a/scripts/install +++ b/scripts/install @@ -173,9 +173,6 @@ ynh_replace_string "__NAME__" "$name" "../conf/prod.exs" ynh_replace_string "__ADMIN_EMAIL__" "$admin_email" "../conf/prod.exs" cp ../conf/prod.exs "$final_path/$app/config/prod.exs" -# Temprary YARN fix for package material-design-icons -cp ../conf/.yarnrc "$final_path/$app/.yarnrc" - # Give permission to the final_path chown -R "$app":"$app" "$final_path"