commiting

This commit is contained in:
2023-12-15 10:30:18 -05:00
parent b6b7ac2418
commit 5db1626ef1
410 changed files with 52075 additions and 318 deletions

View File

@@ -1,33 +1,17 @@
IP_ADDR = allpawcare.com
DOMAIN = allpawcare.com
USER = awkawb
IMG_ORIGINAL = "img_original"
IMG_PUBLIC = "all_paw_care/static/img"
LOCAL_ARCHIVE = $(shell pwd)/public.tar
PUBLIC_DIR = "$(shell pwd)/public"
REMOTE_DIR = /home/awkawb
BOOTSTRAP_MODULE = "bootstrap-custom/boostrap/scss"
CUSTOM_SCSS = "bootstrap-custom/custom.scss"
PUBLIC_CSS = "all_paw_care/static/css/custom.css"
.PHONY: dev-server
dev-server:
flask run --no-reload
.PHONY: build-custom-bootstrap
build-custom-bootstrap:
sass -I $(BOOTSTRAP_MODULE) $(CUSTOM_SCSS) $(PUBLIC_CSS)
.PHONY: process-images
process-images:
./process-images.sh
.PHONY: push-archive
push-archive: archive
scp $(LOCAL_ARCHIVE) root@$(DOMAIN):/srv/www && rm $(LOCAL_ARCHIVE)
.PHONY: archive
archive:
tar -cf $(LOCAL_ARCHIVE) $(PUBLIC_DIR)
.PHONY: ssh
ssh:
ssh $(USER)@$(DOMAIN)
.PHONY: ssh-root
ssh-root:
ssh root@$(DOMAIN)