Valentin f9b78aa78b dernière modif | 5 mesi fa | |
---|---|---|
Docker | 11 mesi fa | |
src | 5 mesi fa | |
.gitignore | 1 anno fa | |
.gitmodules | 1 anno fa | |
Caddyfile | 1 anno fa | |
Makefile | 1 anno fa | |
README.md | 1 anno fa | |
docker-compose.yml | 1 anno fa |
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 -u root -w /app/public/bedrock/web/app/themes/partition-jlg-theme php-fpm /bin/sh
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