I use Valet as my local web development environment (PHP, Laravel, Wordpress, ...)
This gist is my own recipe to install Wordpress from the command line to use it with Valet. Maybe this is useful for you too.
#!/bin/bash | |
# Claude Code Model Configuration Script | |
# Usage: cla [c] [claude options and commands] | |
# Version: 0.6 | |
# Gist: https://gist.github.com/orumad/89c3f6d27b09120c36347056f1a5fd11 | |
set -e | |
# Default values |
# stop script on error signal | |
set -e | |
# remove old deployment folders | |
if [ -d "/home/forge/deploy" ]; then | |
rm -R /home/forge/deploy | |
fi | |
if [ -d "/home/forge/backup" ]; then | |
rm -R /home/forge/backup | |
fi |