No Description

Valentin 79b4ec93a5 correction installation 1 year ago
Docker f6d0a9c4ae first commit 1 year ago
src 79b4ec93a5 correction installation 1 year ago
.gitignore f6d0a9c4ae first commit 1 year ago
.gitmodules 79b4ec93a5 correction installation 1 year ago
Caddyfile f6d0a9c4ae first commit 1 year ago
Makefile 8e0ff37704 test en submodule 1 year ago
README.md 79b4ec93a5 correction installation 1 year ago
docker-compose.yml f6d0a9c4ae first commit 1 year ago

README.md

installation

  1. docker et docker-compose installés sur le host
  2. cloner la stack
    • git clone https://figureslibres.io/gogs/valentin_le_moign/docker_partition_jlg.git
  3. build la stack make build_stack
  4. build bedrock make build_bedrock
  5. installer la db
    • docker exec -it mariadb /bin/sh
    • mysql -u root -p --force --one-database wordpress < /wordpress.sql
    • prompt password db password
    • exit
  6. cloner le thème
    • git submodule add https://figureslibres.io/gogs/valentin_le_moign/partition-jlg-theme.git ./src/bedrock/web/app/themes/partition-jlg-theme
  7. installer le thème make install_theme
  8. activer redis dans l'admin wordpress
    • plugins -> installed plugins
    • settings -> redis

xdebug

  • Installer l'extension Codium / VSCode PHP Debug
  • Mapping dans .vscode
  • Installer l'extension de navigateur Xdebug

phpmyadmin

Sur le port 8080

todo stack

urgent

  • workflow installation / dev / collaboration
  • variables d'environnement
  • makefile
  • readme
  • depot git submodule
  • dump db

debug

  • pb https
  • phpmyadmin

plus tard

  • passwords -> redis, mariadb, phpmyadmin
  • installer, documenter xdebug
  • redis as muplugin
  • installer matomo
  • composer install au lieu de bash script
  • déploiement

ressources

dump db

  • docker exec -it mariadb /bin/sh
  • mysqldump -u root -p wordpress > /var/lib/mysql/wordpress.sql
  • exit
  • sudo mv data/wordpress.sql ./Docker/mariadb/wordpress.sql