You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			596 B
		
	
	
	
		
			Makefile
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			596 B
		
	
	
	
		
			Makefile
		
	
check-deps:
 | 
						|
	@echo "Checking system dependencies..."
 | 
						|
	@command -v openssl > /dev/null || (echo "OpenSSL cli is not installed."; exit 1)
 | 
						|
	@echo "System dependencies met."
 | 
						|
.PHONEY: check-deps
 | 
						|
 | 
						|
# https://mosquitto.org/man/mosquitto-tls-7.html
 | 
						|
# FOR LOCAL DEV ONLY! These certs do not use encryption. Use let's encrypt or a real cert.
 | 
						|
gen-local-tls-certs:
 | 
						|
	./scripts/gen-local-tls-certs.sh
 | 
						|
.PHONEY: gen-local-tls-certs
 | 
						|
 | 
						|
start-dev:
 | 
						|
	docker compose up -d
 | 
						|
.PHONEY: start-dev
 | 
						|
 | 
						|
stop-dev:
 | 
						|
	docker compose down
 | 
						|
.PHONEY: stop-dev
 | 
						|
 | 
						|
install-dev-deps:
 | 
						|
	python3 -m pip install pre-commit
 | 
						|
.PHONEY: install-dev-dep |