diff --git a/notes.md b/notes.md index 6ae83bc..602442b 100644 --- a/notes.md +++ b/notes.md @@ -12,6 +12,11 @@ 2. put them on the server : - in an empty file, accessible with url - then go to this file with url, and go to installer.php + - if doing it in this docker : + - delete everything inside the wp volume (ex: volumes(wp_volume) + - then copy the 2 files inside + - then go to the local url in browser, and reach the installer.php + ex : https://my-local-site/installer.php #### todo : @@ -77,4 +82,7 @@ - for the moment it's not possible to launch a second wordpress container since it will use the same containers names - so maybe doing something with prefixing names ? - +- **PLUGINS :** + - when running make again, if the plugin symlink was removed, it is not added + - it seems that the entrypoints is not running again if not modified + - if i just change one line in the entrypoint file, it is running and the plugins are linked diff --git a/srcs/model.env b/srcs/model.env index 1876455..808b336 100644 --- a/srcs/model.env +++ b/srcs/model.env @@ -1,7 +1,7 @@ #!/bin/bash PROJECT_NAME="fipfcard_plugin" -PROJECT_URL="local_fipfcard_plugin.com" +PROJECT_URL="local-fipfcard-plugin.com" PROJECT_PORT=443 # change execution_time and max_upload_size, in wp and nginx diff --git a/srcs/requirements/wordpress/conf/wp_entrypoint.sh b/srcs/requirements/wordpress/conf/wp_entrypoint.sh index d95b31a..98e0344 100644 --- a/srcs/requirements/wordpress/conf/wp_entrypoint.sh +++ b/srcs/requirements/wordpress/conf/wp_entrypoint.sh @@ -65,7 +65,7 @@ else fi # installing plugins : -echo -e ${YELLOW}plugins...${RESET} +echo -e ${YELLOW}installing plugins...${RESET} plugins=$(ls ${WP_VOLUME_PLUGINS}) echo $plugins for dir in $plugins; do