Skip to content

Instantly share code, notes, and snippets.

@jmercouris
Created June 6, 2019 15:20
Show Gist options
  • Save jmercouris/1e94d652006bb7f58999247ad9adf480 to your computer and use it in GitHub Desktop.
Save jmercouris/1e94d652006bb7f58999247ad9adf480 to your computer and use it in GitHub Desktop.
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