manifest / unclassified / wp-env-local
TAG wp-env Local
Starting Plugin for development, with using Production URLs
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/pbrocks/wp-env-local/archive/refs/heads/main.zipwpdev-local-plugin
Bash file to create docker path
# ./save-wp-env-path.sh
#!/bin/bash
# Ensure the directory exists
mkdir -p ./local/uploads/info-to-pass
# Save the WP_ENV path to the file
echo "Saving wp-env path..."
echo $WP_ENV_PATH > ./local/uploads/info-to-pass/wp-env-path.txt
Make sure it's executable
chmod +x save-wp-env-path.sh