62 lines
		
	
	
		
			827 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			827 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
all: database backend frontend
 | 
						|
 | 
						|
# Database
 | 
						|
database: database-stop database-clean databgase-start database-init 
 | 
						|
 | 
						|
database-stop:
 | 
						|
 | 
						|
database-start:
 | 
						|
 | 
						|
database-restart: database-stop database-start
 | 
						|
 | 
						|
database-clean:
 | 
						|
 | 
						|
database-init:
 | 
						|
 | 
						|
# Backend
 | 
						|
backend:
 | 
						|
 | 
						|
backend-restart:
 | 
						|
 | 
						|
backend-rebuild:
 | 
						|
 | 
						|
backend-image-push:
 | 
						|
 | 
						|
# Frontend
 | 
						|
 | 
						|
frontend:
 | 
						|
 | 
						|
frontend-stop:
 | 
						|
 | 
						|
frontend-start:
 | 
						|
 | 
						|
frontend-restart: frontend-stop frontend-start
 | 
						|
 | 
						|
frontend-clean:
 | 
						|
 | 
						|
frontend-rebuild:
 | 
						|
 | 
						|
frontend-image-push:
 | 
						|
 | 
						|
# Haproxy - Only used for local
 | 
						|
 | 
						|
haproxy:
 | 
						|
 | 
						|
haproxy-stop:
 | 
						|
 | 
						|
haproxy-start:
 | 
						|
 | 
						|
haproxy-restart: haproxy-stop haproxy-start
 | 
						|
 | 
						|
# Config Templating - Only used for local
 | 
						|
 | 
						|
reconfigure: reconfigure-database reconfigure-backend reconfigure-frontend
 | 
						|
 | 
						|
reconfigure-database:
 | 
						|
 | 
						|
reconfigure-backend:
 | 
						|
 | 
						|
reconfigure-frontend:
 | 
						|
 | 
						|
reconfigure-haproxy:
 | 
						|
	./haproxy/reconfigure-haproxy.sh
 |