Add comprehensive hook installation system and update documentation
Major Features Added: • Automated hook installation scripts (install-hooks.sh and setup-hooks) • User-scope installation with automatic domain configuration • 7 pre-configured hook profiles for different user types • Comprehensive documentation updates across all guides Hook Installation System: • ./setup-hooks - One-liner installation for most users • ./install-hooks.sh - Full-featured installer with profile selection • Automatic domain replacement using $DOMAIN environment variable • Settings backup and verification capabilities • Safe uninstallation with rollback support Documentation Enhancements: • Updated README.md with complete project overview and proper git repository URL • Enhanced Getting Started guide with automated hook installation • Improved Docker deployment guide with hook installation step • Reorganized documentation index with better visual hierarchy • Added repository URL: https://git.supported.systems/claude/claude-code-tracker.git Technical Improvements: • Rebuilt Docker containers with all latest changes • Verified application health and functionality • Updated all installation examples with correct repository URL • Improved quick start workflow with 3-step visual process 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
50c80596d0
commit
1e1d4a995d
8 changed files with 1038 additions and 129 deletions
45
setup-hooks
Executable file
45
setup-hooks
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Claude Code Tracker - Quick Hook Setup
|
||||
# Simple wrapper for the full installation script
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
INSTALL_SCRIPT="$SCRIPT_DIR/install-hooks.sh"
|
||||
|
||||
# Colors
|
||||
GREEN='\033[0;32m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m'
|
||||
|
||||
echo -e "${BLUE}Claude Code Tracker - Quick Hook Setup${NC}"
|
||||
echo ""
|
||||
|
||||
# Check if install script exists
|
||||
if [[ ! -f "$INSTALL_SCRIPT" ]]; then
|
||||
echo "Error: Installation script not found at $INSTALL_SCRIPT"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if domain is set
|
||||
if [[ -z "$DOMAIN" ]]; then
|
||||
if [[ -f "$SCRIPT_DIR/.env" ]]; then
|
||||
source "$SCRIPT_DIR/.env"
|
||||
fi
|
||||
|
||||
if [[ -z "$DOMAIN" ]]; then
|
||||
echo "Please set the DOMAIN environment variable first:"
|
||||
echo ""
|
||||
echo " export DOMAIN=your-domain.com"
|
||||
echo " ./setup-hooks"
|
||||
echo ""
|
||||
echo "Or create a .env file with:"
|
||||
echo " DOMAIN=your-domain.com"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e "${GREEN}Using domain: $DOMAIN${NC}"
|
||||
echo ""
|
||||
|
||||
# Run the installation with comprehensive profile (best for most users)
|
||||
exec "$INSTALL_SCRIPT" comprehensive "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue