server.sh 158 Bytes
Newer Older
Shane A. Stillwell's avatar
Shane A. Stillwell committed
1
#!/bin/bash
Shane A. Stillwell's avatar
Shane A. Stillwell committed
2
VERSION=${1:-0.50}
Shane A. Stillwell's avatar
Shane A. Stillwell committed
3

Shane A. Stillwell's avatar
Shane A. Stillwell committed
4 5
open http://localhost:1313;
docker run --rm -v `pwd`:/src -p=1313:1313 northernv/hugo:$VERSION hugo server --bind 0.0.0.0 -D;