Created
June 6, 2019 15:20
-
-
Save jmercouris/1e94d652006bb7f58999247ad9adf480 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync_push: | |
rsync -ar $(CURRENT_DIR) $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --filter=':- .gitignore' | |
kill_remote: | |
ssh $(SSH_USER)@$(SSH_HOST) \ | |
pkill sbcl | |
run_on_remote: | |
setsid nohup $(LISP) \ | |
--dynamic-space-size 2048 \ | |
--control-stack-size 2048 \ | |
--eval "(asdf:load-asd \""$(REMOTE_ASD_PATH)"\")" \ | |
--eval "(ql:quickload :atlas-site)" \ | |
--eval "(atlas-site:start :server :fcgi :port 9000 :debug nil)"; disown | |
run_remotely: | |
ssh $(SSH_USER)@$(SSH_HOST) \ | |
make -f $(REMOTE_MAKEFILE_PATH) run_on_remote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment