tree: a53262ff66e5e208e882dc63a5746191aaefe6dc [path history] [tgz]
  1. _copy/
  2. _docs/
  3. _includes/
  4. _layouts/
  5. _pages/
  6. _sass/
  7. _site/
  8. assets/
  9. images/
  10. js/
  11. semantic/
  12. .dockerignore
  13. _config.yml
  14. CHANGELOG.md
  15. Dockerfile
  16. Gemfile
  17. Gemfile.lock
  18. index.html
  19. package.json
  20. README.md
  21. semantic.json
site/README.md

How to Build and Deploy Site

  1. Download and Install Docker

  2. Build site

    docker build -t flagon:site .
    
  3. Deploy site on localhost:8000

    docker run -p 8000:8000 -it flagon:site python -m SimpleHTTPServer 
    
  4. (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.