Valentin f9b78aa78b dernière modif | 5 bulan lalu | |
---|---|---|
Docker | 1 tahun lalu | |
src | 5 bulan lalu | |
.gitignore | 1 tahun lalu | |
.gitmodules | 1 tahun lalu | |
Caddyfile | 1 tahun lalu | |
Makefile | 1 tahun lalu | |
README.md | 1 tahun lalu | |
docker-compose.yml | 1 tahun lalu |
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