wyattjmiller.com/build-dev.sh

14 lines
392 B
Bash
Raw Permalink 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
2019-01-11 22:41:51 -06:00
bundle update
2019-01-11 17:33:02 -06:00
jekyll build
cd ../..
sudo docker build -t mywebsite .
sudo docker run -v /home/wyatt/Source/mywebsite/src/:/var/www/html -p 80:80 mywebsite