This commit is contained in:
Ryder Damen 2021-07-01 00:39:22 -04:00
commit 9df325b73e
No known key found for this signature in database
GPG key ID: A0BB4C56DC7699FF
10 changed files with 268 additions and 0 deletions

22
Makefile Normal file
View 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