Skip to content

Commit

Permalink
add windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Sep 8, 2023
1 parent 5d88322 commit 41f1e53
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@ all: hugo rsync chmod

.PHONY: pubs

# local:
# mkdir -p uva
# docker-compose up

# run shell:
# @if docker ps -q -f name=infomall-org-uva-site-1 | grep -q . ; then \
# echo "Container is already running. Attaching..." ; \
# docker exec -it infomall-org-uva-site-1 bash ; \
# else \
# echo "Container is not running. Starting new container..." ; \
# docker run -it --privileged --detach --name infomall-org-uva-site-1 --cap-add=NET_ADMIN \
# -v $(PWD):/app -v ~/remote_mount:/app/remote_mount $(DOCKER_IMAGE_NAME) ; \
# fi


hugo:
hugo

Expand All @@ -21,6 +36,10 @@ rsync: hugo
rsync -rv uva rivanna:www/infomall
make -f Makefile chmod

windows: hugo
wsl -e bash -c "rsync -rv uva rivanna:/project/bii_dsc/www/infomall"
wsl -e bash -c "make -f Makefile chmod"

chmod:
ssh rivanna "cd www/infomall/uva; sh ../../permissions.sh"

Expand Down

0 comments on commit 41f1e53

Please sign in to comment.