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

How to Build Site

  1. Download and Install Docker
  2. Build site
    docker build -t senssoft:site .
    
  3. Deploy site on localhost:8000
    docker run -p 8000:8000 -it senssoft: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 senssoft:site python -m SimpleHTTPServer)
    # Reference container id to grab built contents
    docker cp $CID:/app/_site .