Last active
April 20, 2017 06:15
-
-
Save carld/e4ec5add9825daed7a11af9989f220c2 to your computer and use it in GitHub Desktop.
Deploying a clojure ring app to an EC2 machine with Nginx in front
This file contains hidden or 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
| scp -v -r resources/public/* dirnet:/var/www/static/ | |
| lein ring uberjar | |
| rsync --verbose --progress -t target/*.jar dirnet:/var/www | |
| ssh host "sudo service my-app restart" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment