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 Fix bug API b7e3e62 @ 2022-08-17 05:20:57
wp-content Fix bug API 2022-08-17 05:20:57
.gitignore 512 B Track class-sp-rest-api.php 2022-08-17 05:20:30
README.md 936 B Maj de la quincaillerie 2022-04-26 20:43:56
horaire-et-pointage.php 4.14 KB horaire v0.1.0 2022-05-29 15:41:19
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