Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
34 changes: 34 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Provides easy-to-use commands for managing the LazyVim Docker environment

.PHONY: help build start enter stop destroy clean status update logs backup restore dev quick version bump-version restart
.PHONY: install-global uninstall install-remote remote-uninstall remote-update configure

# Default target
.DEFAULT_GOAL := help
Expand Down Expand Up @@ -86,6 +87,10 @@ clean: ## Clean up unused Docker resources
@docker volume prune -f
@echo "$(GREEN)Cleanup completed$(NC)"

configure: ## Reconfigure directories and timezone
@echo "$(BLUE)Reconfiguring LazyVim Docker environment...$(NC)"
@./scripts/configure.sh

health: ## Run comprehensive health diagnostics
@echo "$(BLUE)Running LazyVim environment health check...$(NC)"
@./scripts/health-check.sh
Expand Down Expand Up @@ -154,3 +159,32 @@ bump-version: ## Bump version (patch, minor, major)
exit 1; \
fi
@./scripts/bump-version.sh $(TYPE)

install-global: ## Install global 'lazy' commands to use from anywhere
@echo "$(BLUE)Installing LazyVim Docker global commands...$(NC)"
@./scripts/install-global-commands.sh

uninstall:
@echo "$(BLUE)Uninstalling LazyVim Docker...$(NC)"
@./scripts/uninstall-global-commands.sh

install-remote:
@echo "$(BLUE)LazyVim Docker - Remote Installation$(NC)"
@echo ""
@echo "To install LazyVim Docker remotely (recommended):"
@echo "$(GREEN)curl -fsSL https://raw.githubusercontent.com/manghidev/lazyvim-docker/main/scripts/remote-install.sh | bash$(NC)"
@echo ""
@echo "This will:"
@echo " • Download and install LazyVim Docker to ~/.local/share/lazyvim-docker"
@echo " • Create global 'lazy' command"
@echo " • Build Docker environment"
@echo " • No repository cloning required - everything is automated"

remote-install: install-remote

test-remote-scripts:
@echo "$(BLUE)Testing remote installation scripts...$(NC)"
@bash -n scripts/remote-install.sh && echo "$(GREEN)✓ remote-install.sh syntax OK$(NC)"
@bash -n scripts/remote-uninstall.sh && echo "$(GREEN)✓ remote-uninstall.sh syntax OK$(NC)"
@bash -n scripts/remote-update.sh && echo "$(GREEN)✓ remote-update.sh syntax OK$(NC)"
@echo "$(GREEN)All remote scripts passed syntax check!$(NC)"
Loading