diff --git a/README.md b/README.md index f892852..7858100 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,6 @@ > *This package allow you to install Mobilizon quickly and simply on a YunoHost server. If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* -## 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. 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 - ## Overview MobiliZon is your federated organization and mobilization platform. Supported by [Framasoft](https://framasoft.org/en/) @@ -25,6 +16,15 @@ Mobilizon is a tool designed to create platforms for managing communities and ev **Shipped version:** 0.1.0-2019-04-11 +## 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. 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 + ## Screenshots ![Capture](https://user-images.githubusercontent.com/30271971/56023339-ea65aa00-5d0d-11e9-8b27-0120de231920.PNG) diff --git a/check_process b/check_process index 6281cc6..4c26124 100644 --- a/check_process +++ b/check_process @@ -16,7 +16,7 @@ upgrade=1 backup_restore=1 multi_instance=1 - incorrect_path=1 + incorrect_path=0 port_already_use=0 change_url=0 ;;; Levels diff --git a/conf/.env b/conf/.env index 620563f..a9d9249 100644 --- a/conf/.env +++ b/conf/.env @@ -21,5 +21,4 @@ MOBILIZON_DATABASE_DBNAME="__DB_NAME__" MOBILIZON_DATABASE_HOST="localhost" MOBILIZON_DATABASE_PORT="5432" - MOBILIZON_LOGLEVEL="info" \ No newline at end of file diff --git a/conf/systemd.service b/conf/systemd.service index 61f9e15..a73916c 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -24,6 +24,5 @@ PrivateDevices=false ; Ensures that the service process and all its children can never gain new privileges through execve(). NoNewPrivileges=true - [Install] WantedBy=multi-user.target diff --git a/scripts/install b/scripts/install index 0ef6a6a..67411a5 100644 --- a/scripts/install +++ b/scripts/install @@ -192,13 +192,6 @@ pushd $final_path/$app sudo -u "$app" MIX_ENV=prod mix deps.get sudo -u "$app" MIX_ENV=prod mix ecto.migrate sudo -u "$app" MIX_ENV=prod mix phx.digest - - # Add user - # sudo -u "$app" MIX_ENV=prod mix mobilizon.user new "$admin" "$admin_email" --password "$password" --moderator --admin -y - - #Generate key pair - # sudo -u "$app" MIX_ENV=prod mix web_push.gen.keypair >> "config/prod.secret.exs" - # ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.exs" popd curl http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz --output GeoLite2-City.tar.gz -s && tar zxf GeoLite2-City.tar.gz && mkdir -p /usr/share/GeoIP && mv GeoLite2-City_*/GeoLite2-City.mmdb $final_path/$app/priv/data/GeoLite2-City.mmdb diff --git a/scripts/upgrade b/scripts/upgrade index 33c5514..320db17 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -171,13 +171,6 @@ pushd $final_path/$app sudo -u "$app" MIX_ENV=prod mix deps.get sudo -u "$app" MIX_ENV=prod mix ecto.migrate sudo -u "$app" MIX_ENV=prod mix phx.digest - - # Add user - # sudo -u "$app" MIX_ENV=prod mix mobilizon.user new "$admin" "$admin_email" --password "$password" --moderator --admin -y - - #Generate key pair - # sudo -u "$app" MIX_ENV=prod mix web_push.gen.keypair >> "config/prod.secret.exs" - # ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.exs" popd ynh_backup_if_checksum_is_different "$config"