git clone https://figureslibres.io/gogs/valentin_le_moign/docker_partition_jlg.git
cd docker_partition_jlg
make build_stack
make build_bedrock
docker exec -it mariadb /bin/sh
mysql -u root -p --force --one-database wordpress < /wordpress.sql
password
exit
git submodule add -f https://figureslibres.io/gogs/valentin_le_moign/partition-jlg-theme.git ./src/bedrock/web/app/themes/partition-jlg-theme
make install_theme
https://localhost:80
(possible d'ignorer l'erreur https dans firefox)plugins -> installed plugins
settings -> redis
cd src/bedrock/web/app/themes/partition-jlg-theme
git pull
git add .
git commit -m "message de commit"
git push origin master
docker exec -it -w /app/public/bedrock/web/app/themes/partition-jlg-theme php-fpm
yarn dev
Ouvrir le dossier du thème avec VSCode
Installer extension VSCode Tailwind CSS IntelliSense
Settings ctrl + ,
-> Files:Association
-> Item .php
Value tailwindcss
Sur le port 8080
urgent
debug
plus tard
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