mirror of
https://github.com/NotAShelf/air-quality-monitor.git
synced 2024-11-26 15:16:49 +00:00
23 lines
352 B
Makefile
23 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
|