Valentin f9b78aa78b dernière modif | пре 5 месеци | |
---|---|---|
Docker | пре 1 година | |
src | пре 5 месеци | |
.gitignore | пре 1 година | |
.gitmodules | пре 1 година | |
Caddyfile | пре 1 година | |
Makefile | пре 1 година | |
README.md | пре 1 година | |
docker-compose.yml | пре 1 година |
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