Download and Install Docker
Build site
docker build -t flagon:site .
Deploy site on localhost:8000
docker run -p 8000:8000 -it flagon:site python -m SimpleHTTPServer
(Optional): To update the site, can copy the files from the container to _site
.
# First grab container id CID=$(docker create -p 8000:8000 -it flagon:site python -m SimpleHTTPServer) # Reference container id to grab built contents docker cp $CID:/app/_site .
Then copy files from _site
in /site
folder into /contents
folder.
Merge new website mods at master branch with asf-site branch to push changes live.