Valentin 5df9af980c amélioration de la timeline | 11 months ago | |
---|---|---|
Docker | 11 months ago | |
src | 11 months ago | |
.gitignore | 1 year ago | |
.gitmodules | 1 year ago | |
Caddyfile | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
docker-compose.yml | 1 year ago |
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