mirror of
				https://github.com/NotAShelf/air-quality-monitor.git
				synced 2025-10-31 03:02:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			352 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			352 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| PI_IP_ADDRESS=10.0.0.172
 | |
| PI_USERNAME=pi
 | |
| 
 | |
| .PHONY: run
 | |
| run:
 | |
| 	@docker-compose up
 | |
| 
 | |
| .PHONY: install
 | |
| install:
 | |
| 	@cd scripts && bash install.sh
 | |
| 
 | |
| .PHONY: copy
 | |
| copy:
 | |
| 	@rsync -a $(shell pwd) --exclude env $(PI_USERNAME)@$(PI_IP_ADDRESS):/home/$(PI_USERNAME)
 | |
| 
 | |
| .PHONY: shell
 | |
| shell:
 | |
| 	@ssh $(PI_USERNAME)@$(PI_IP_ADDRESS)
 | |
| 
 | |
| .PHONY: build
 | |
| build:
 | |
| 	@docker-compose build
 | 
