initial dotfiles migration from zet-personal
This commit is contained in:
26
scripts/bootstrap.sh
Executable file
26
scripts/bootstrap.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# bootstrap.sh — Restore Enterprise AI Environment on this machine
|
||||
set -euo pipefail
|
||||
|
||||
echo "🔄 Restoring Enterprise AI Environment..."
|
||||
|
||||
# Reload shell config
|
||||
# shellcheck disable=SC1091
|
||||
[ -f ~/.bashrc ] && source ~/.bashrc
|
||||
[ -f ~/.bash_profile ] && source ~/.bash_profile
|
||||
|
||||
echo " WORKSPACE : ${WORKSPACE:-not set}"
|
||||
echo " DATA_ROOT : ${DATA_ROOT:-not set}"
|
||||
echo " MODEL_ROOT : ${MODEL_ROOT:-not set}"
|
||||
echo
|
||||
|
||||
# Sync latest dotfiles from git server
|
||||
if [ -f "$HOME/scripts/dotfiles_manager.sh" ]; then
|
||||
echo "📦 Syncing dotfiles..."
|
||||
bash "$HOME/scripts/dotfiles_manager.sh" sync
|
||||
else
|
||||
echo "⚠️ dotfiles_manager.sh not found — run setup_enterprise_ai_bash.sh first."
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "✅ Bootstrap complete."
|
||||
Reference in New Issue
Block a user