Compare commits
	
		
			4 Commits
		
	
	
		
			bdd97be8dd
			...
			01c5241d8f
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 01c5241d8f | |||
| 93c3dcbb6d | |||
| ada5c6b876 | |||
| 18222d510a | 
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -21,3 +21,4 @@
 | 
			
		||||
# Go workspace file
 | 
			
		||||
go.work
 | 
			
		||||
 | 
			
		||||
config/private
 | 
			
		||||
							
								
								
									
										0
									
								
								config/private
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								config/private
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										62
									
								
								makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,62 @@
 | 
			
		||||
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:
 | 
			
		||||
 | 
			
		||||
reconfigue-haproxy:
 | 
			
		||||
	./haproxy/reconfigure-haproxy.sh
 | 
			
		||||
		Reference in New Issue
	
	Block a user