Skip to content

wearesyntesa/Ketuk-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makefile Quick Reference

🚀 Quick Start Commands

make help          # Show all available commands
make up             # Start all services with migration
make down           # Stop all services
make restart        # Restart all services
make status         # Show container status

📊 Database Commands

make db-shell       # Connect to PostgreSQL
make db-tables      # Show all tables
make db-users       # Show users table
make db-tickets     # Show tickets table
make db-reset       # Reset database (destroys data!)
make migrate        # Run migrations manually

📝 Logs & Monitoring

make logs           # Show all logs
make logs-postgres  # PostgreSQL logs only
make logs-rabbitmq  # RabbitMQ logs only
make logs-migrate   # Migration logs
make health         # Check service health

🔧 Maintenance Commands

make backup         # Backup database
make restore FILE=backup.sql  # Restore from backup
make clean          # Remove containers & volumes
make clean-all      # Remove everything including images
make prune          # Clean unused Docker resources

🏗️ Development Workflow

make dev            # Complete dev setup (clean + up + logs)
make go-ketuk       # Run KetukApps Go app
make go-ketuk2      # Run KetukApps2 Go app
make go-mod-tidy    # Tidy Go modules

🎯 Most Used Commands

  1. make up - Start everything
  2. make logs - Watch logs
  3. make db-shell - Database access
  4. make status - Check status
  5. make down - Stop everything
  6. make dev - Full development reset

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published