mirror of
https://github.com/NotAShelf/air-quality-monitor.git
synced 2025-12-21 11:21:23 +00:00
init
This commit is contained in:
commit
9df325b73e
10 changed files with 268 additions and 0 deletions
22
Makefile
Normal file
22
Makefile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue