wyattjmiller.com/build-dev.sh

13 lines
378 B
Bash
Raw Normal View History

2019-01-11 17:33:02 -06:00
# Script written by Wyatt J. Miller
# Licensed by the MIT License
# Very generic build script for my website
# Automation so I don't get carpal tunnel lol
# Used for development
#
# Must be used in the site's root directory
cd src/blog
jekyll build
cd ../..
sudo docker build -t mywebsite .
sudo docker run -v /home/wyatt/Source/mywebsite/src/:/var/www/html -p 80:80 mywebsite