mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
add admin.md
This commit is contained in:
parent
abe49a80ce
commit
3974103f3b
2 changed files with 20 additions and 0 deletions
10
doc/ADMIN.md
Normal file
10
doc/ADMIN.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
After the installation, to create the admin user, you have to go to cli:
|
||||||
|
|
||||||
|
```python
|
||||||
|
pushd $install_dir/
|
||||||
|
pipenv shell
|
||||||
|
ftcli users update <user> --set-admin true
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
$install_dir has to be changed with the actual FitTrackee installed directory. Most of the time it will be /var/www/fittrackee
|
10
doc/ADMIN_fr.md
Normal file
10
doc/ADMIN_fr.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Après l’installation, pour créer un administrateru, vous devez utiliser la ligne de commande :
|
||||||
|
|
||||||
|
```python
|
||||||
|
pushd $install_dir/
|
||||||
|
pipenv shell
|
||||||
|
ftcli users update <user> --set-admin true
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
$install_dir doit être modifié en l’adresse du répertoire où FitTrackee est installé. La majorité du temps ce sera /var/www/fittrackee
|
Loading…
Reference in a new issue