Skip to content

Instantly share code, notes, and snippets.

View jswny's full-sized avatar
🥵
Programming language elitist

Joe Sweeney jswny

🥵
Programming language elitist
View GitHub Profile
@jswny
jswny / j1.io-deploy.sh
Created May 25, 2016 19:43
Shell script to automatically deploy j1.io using Docker.
# This file will automatically deploy j1.io using Docker to /var/www/j1.io
printf "Starting deployment...\n"
cd /var/www
printf "Cleaning up before starting...\n"
rm -rf j1.io
docker stop j1.io
docker rm j1.io
docker rmi jswny/j1.io