- Create LXC 171 (claude-agent) on pveelite with Ubuntu 24.04 - Install Node.js 20.x, Claude Code, tmux, Tailscale - Configure SSH access and Gitea integration - Add workflow scripts: start-agent.sh, work.sh, new-task.sh, finish-task.sh - Add code-server for mobile file browsing - Document complete setup in proxmox/claude-agent/README.md LXC Details: - IP internal: 10.0.20.171 - IP Tailscale: 100.95.55.51 - code-server: port 8080 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
608 B
Bash
27 lines
608 B
Bash
#!/bin/bash
|
|
# Script pentru a începe un task nou cu branch
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Utilizare: ~/new-task.sh <nume-branch>"
|
|
echo "Exemplu: ~/new-task.sh fix/rezolva-bug"
|
|
exit 1
|
|
fi
|
|
|
|
BRANCH_NAME="$1"
|
|
PROJECT_DIR="/workspace/romfastsql"
|
|
|
|
cd "$PROJECT_DIR" || exit 1
|
|
|
|
# Actualizează main
|
|
echo "📥 Actualizez main..."
|
|
git checkout main
|
|
git pull origin main
|
|
|
|
# Creează branch nou
|
|
echo "🌿 Creez branch: $BRANCH_NAME"
|
|
git checkout -b "$BRANCH_NAME"
|
|
|
|
echo "✅ Gata! Ești pe branch-ul: $BRANCH_NAME"
|
|
echo ""
|
|
echo "Pornește Claude cu: source ~/.nvm/nvm.sh && claude"
|