first commit
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
# installation
|
||||
|
||||
0. docker et docker-compose installés sur le host
|
||||
1. cloner la stack
|
||||
- `git clone`
|
||||
2. build la stack `make build_stack`
|
||||
3. build bedrock `make build_bedrock`
|
||||
4. installer la db
|
||||
- `docker exec -it mariadb /bin/sh`
|
||||
- `mysql -u root -p --force --one-database wordpress < /wordpress.sql`
|
||||
- prompt password db `password`
|
||||
- `exit`
|
||||
5. activer redis dans l'admin wordpress
|
||||
- `plugins -> installed plugins`
|
||||
- `settings -> redis`
|
||||
4. cloner le thème
|
||||
- `cd src/bedrock/web/app/themes/`
|
||||
- `git submodule add LIEN`
|
||||
5. installer le thème `make install_theme`
|
||||
|
||||
|
||||
# xdebug
|
||||
|
||||
- Installer l'extension Codium / VSCode PHP Debug
|
||||
- Mapping dans .vscode
|
||||
- Installer l'extension de navigateur Xdebug
|
||||
|
||||
|
||||
# phpmyadmin
|
||||
|
||||
Marche pas
|
||||
|
||||
|
||||
# todo stack
|
||||
|
||||
urgent
|
||||
- workflow installation / dev / collaboration
|
||||
- variables d'environnement
|
||||
- makefile
|
||||
- readme
|
||||
- depot git submodule
|
||||
- dump db
|
||||
|
||||
debug
|
||||
- pb https
|
||||
- phpmyadmin
|
||||
|
||||
plus tard
|
||||
- passwords -> redis, mariadb, phpmyadmin
|
||||
- installer, documenter xdebug
|
||||
- redis as muplugin
|
||||
- installer matomo
|
||||
- composer install au lieu de bash script
|
||||
- déploiement
|
||||
|
||||
|
||||
# ressources
|
||||
|
||||
- Sage
|
||||
https://toby.ink/blog/2020/11/26/dummys-guide-to-roots-sage-theme-in-wordpress
|
||||
|
||||
|
||||
# dump db
|
||||
|
||||
- `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`
|
||||
Reference in New Issue
Block a user