make file et readme

This commit is contained in:
tierce 2021-08-24 21:55:27 +02:00
parent 86549ac452
commit e0f76d011f
3 changed files with 10 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,4 +1,2 @@
__pycache__/*
output/*
template/gnuragistes/static/css/Fork-Awesome/.github
template/gnuragistes/static/css/Fork-Awesome/.gitignore

View File

@ -10,8 +10,8 @@ PUBLISHCONF=$(BASEDIR)/publishconf.py
SSH_HOST=gnuragist.es
SSH_PORT=22
SSH_USER=admin
SSH_TARGET_DIR=/var/www/my_webapp/www
SSH_USER=my_webapp__4
SSH_TARGET_DIR=/var/www/my_webapp__4/www
DEBUG ?= 0

View File

@ -23,6 +23,14 @@
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
* [ForkAwsome cheatsheet](https://forkaweso.me/Fork-Awesome/cheatsheet/)