make file et readme
This commit is contained in:
parent
86549ac452
commit
e0f76d011f
|
@ -1,4 +1,2 @@
|
||||||
__pycache__/*
|
__pycache__/*
|
||||||
output/*
|
output/*
|
||||||
template/gnuragistes/static/css/Fork-Awesome/.github
|
|
||||||
template/gnuragistes/static/css/Fork-Awesome/.gitignore
|
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -10,8 +10,8 @@ PUBLISHCONF=$(BASEDIR)/publishconf.py
|
||||||
|
|
||||||
SSH_HOST=gnuragist.es
|
SSH_HOST=gnuragist.es
|
||||||
SSH_PORT=22
|
SSH_PORT=22
|
||||||
SSH_USER=admin
|
SSH_USER=my_webapp__4
|
||||||
SSH_TARGET_DIR=/var/www/my_webapp/www
|
SSH_TARGET_DIR=/var/www/my_webapp__4/www
|
||||||
|
|
||||||
|
|
||||||
DEBUG ?= 0
|
DEBUG ?= 0
|
||||||
|
|
|
@ -23,6 +23,14 @@
|
||||||
|
|
||||||
Voir chez [tharyrok](https://gitlab.domainepublic.net/Tharyrok/tharyrok-eu/-/blob/master/Makefile) si besoin.
|
Voir chez [tharyrok](https://gitlab.domainepublic.net/Tharyrok/tharyrok-eu/-/blob/master/Makefile) si besoin.
|
||||||
|
|
||||||
|
### Pour utiliser rsync_upload sur Yunohost
|
||||||
|
|
||||||
|
- installer une Custom Webapp
|
||||||
|
- ajouter le group `ssh.app` à l'utilisateur de la Webapp `usermod -a -G ssh.app my_webapp__X`
|
||||||
|
- authoriser l'utilisation d'un terminal `nano /etc/passwd` et remplacer `/usr/bin/nologin` par `/bin/bash` pour l'utilisateur de la Webapp
|
||||||
|
- créer un dossier `.ssh` dans `/var/www/my_webapp__X/.ssh`
|
||||||
|
- copier / coller votre clé publique dans un nouveau fichiers `/var/www/my_webapp__X/.ssh/authorized_keys`
|
||||||
|
|
||||||
## Ressources
|
## Ressources
|
||||||
|
|
||||||
* [ForkAwsome cheatsheet](https://forkaweso.me/Fork-Awesome/cheatsheet/)
|
* [ForkAwsome cheatsheet](https://forkaweso.me/Fork-Awesome/cheatsheet/)
|
||||||
|
|
Loading…
Reference in New Issue