Site web de la LBD : dépôt pour déploiement des mises à jour de Sportspress (préservation des modifications locales sur mesure). #lbd

davvalent davvalent Reset style.css (tout est dans functions.php pourl'instant) 928a80e @ 2022-04-26 23:38:31
wp-content Reset style.css (tout est dans functions.php pourl'instant) 2022-04-26 23:38:31
.gitignore 445 B horaire-et-pointage.php premier jet 2022-04-26 20:57:27
README.md 936 B Maj de la quincaillerie 2022-04-26 20:43:56
horaire-et-pointage.php 1.03 KB horaire-et-pointage.php premier jet 2022-04-26 20:57:27
README.md

README.md

webserver

The user that runs apache/php is https://askubuntu.com/questions/617803/php-apache-runs-as-which-user-on-ubuntu-serveritable by the web server. The other files you want to perform operations on also need to be writable by the webserver. https://askubuntu.com/questions/617803/php-apache-runs-as-which-user-on-ubuntu-server

Attention : ajouter user david au groupe www-data : sudo usermod -a -G www-data david

css

/* DANS L'ESPACE ADMIN */
.sp-player-list tr:nth-child(even) {background: #f2ede3}
.sp-event-list tr:nth-child(even) {background: #f2ede3}
.data-event a {float: left}

git

Initialisation d'un dépôt local, branche dev.

Création de branche prod : merge dev into prod pour déployer.

Création de dépôt distant --bare

upload post-receive

$ git remote add origin ssh://ntnlvca@ntnlv.ca:27/home/ntnlvca/public_html/git/lbd.git
$ git push -u origin prod