27 lines
750 B
Bash
Executable File
27 lines
750 B
Bash
Executable File
#!/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."
|