diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ecfc043 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Ignore mounted directories +mounts/ + +# Ignore fonts directory +fonts/ + +# Node modules +node_modules/ + +# IDE files +.vscode/ +.idea/ + +# Logs +*.log + +# OS generated files +.DS_Store +Thumbs.db + +# PHP temp files +*.swp diff --git a/CLAUDE.md b/CLAUDE.md index 5e9a7c6..c6a90e8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -34,4 +34,23 @@ ### Extension Settings - Store settings in `extension_settings[extensionName]` - Allow configuration of image service URL -- Support style parameters (e.g., bubble style, colors) \ No newline at end of file +- Support style parameters (e.g., bubble style, colors) + +## Server Configuration + +### SSHFS Mount +- Remote server mounted at `/home/crystal/Projects/SillyBubble/mounts/calista` +- Mount command: `sshfs calista@calista.the.sexiest.cat:/var/www/calista.the.sexiest.cat/ /home/crystal/Projects/SillyBubble/mounts/calista` +- Verify connection: `ls -la /home/crystal/Projects/SillyBubble/mounts/calista` +- Common mount error: If "Transport endpoint is not connected", run `fusermount -u /home/crystal/Projects/SillyBubble/mounts/calista` and try mounting again + +### Deploying to Web Server +- Copy files to mounted directory: `cp /home/crystal/Projects/SillyBubble/image.php /home/crystal/Projects/SillyBubble/mounts/calista/` +- Create fonts directory if needed: `mkdir -p /home/crystal/Projects/SillyBubble/mounts/calista/fonts` +- Web server URL: `http://calista.the.sexiest.cat/image.php` +- Required server dependencies: PHP with GD library (`php-gd` package) + +### Testing the Image Generator +- Direct test: `http://calista.the.sexiest.cat/image.php?q=Test%20message` +- HTML interface: `http://calista.the.sexiest.cat/sillybubble.html` +- Configure SillyBubble extension to use `http://calista.the.sexiest.cat/image.php` as the image service URL \ No newline at end of file