air-quality-monitor/Makefile

23 lines
352 B
Makefile
Raw Normal View History

2021-07-01 04:39:22 +00:00
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