mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Remove set admin
This commit is contained in:
parent
ef9b3e645f
commit
f0d65bdce1
5 changed files with 20 additions and 8 deletions
|
@ -1 +1,6 @@
|
|||
The app can be configured at <https://__DOMAIN____PATH__/?admin> using the username and password defined during the installation.
|
||||
A Jabber user can be set as admin by running this command (they need to login once before):
|
||||
```
|
||||
sudo -u __APP__ php__PHPVERSION__ __INSTALL_DIR__/daemon.php setAdmin <your jabber id>
|
||||
```
|
||||
|
||||
The app can be configured at <https://__DOMAIN____PATH__/?admin>.
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
L'application peut être configurée sur <https://__DOMAIN____PATH__/?admin> en utilisant le nom d'utilisateur et le mot de passe définis lors de l'installation.
|
||||
Un utilisateur Jabber peut être mis admini via cette commande (iel doit s'être loggué une fois avant):
|
||||
```
|
||||
sudo -u __APP__ php__PHPVERSION__ __INSTALL_DIR__/daemon.php setAdmin <your jabber id>
|
||||
```
|
||||
|
||||
L'application peut être configurée sur <https://__DOMAIN____PATH__/?admin>.
|
||||
|
|
6
doc/POST_INSTALL.md
Normal file
6
doc/POST_INSTALL.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
No user was set as admin! You need to login once, and then run this command:
|
||||
```
|
||||
sudo -u __APP__ php__PHPVERSION__ __INSTALL_DIR__/daemon.php setAdmin <your jabber id>
|
||||
```
|
||||
|
||||
As described here: https://github.com/movim/movim/blob/master/INSTALL.md .
|
|
@ -43,11 +43,6 @@ ram.runtime = "50M"
|
|||
type = "group"
|
||||
default = "visitors"
|
||||
|
||||
[install.admin_jid]
|
||||
type = "string"
|
||||
help.en = "The Jabber ID of the user you want as admin."
|
||||
help.fr = "L'identifiant Jabber de l'utilisateur que vous voulez rendre admin."
|
||||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/movim/movim/archive/refs/tags/v0.25.1.tar.gz"
|
||||
|
|
|
@ -60,7 +60,8 @@ ynh_script_progression --message="Building Movim..."
|
|||
ynh_install_composer
|
||||
|
||||
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn_less ynh_composer_exec --commands="movim:migrate"
|
||||
ynh_exec_as "$app" "php$phpversion" "$install_dir/daemon.php" config --username="$admin" --password="$password" --quiet
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
|
|
Loading…
Reference in a new issue