Skip to content

Latest commit

 

History

History
executable file
·
44 lines (30 loc) · 1.54 KB

readme.md

File metadata and controls

executable file
·
44 lines (30 loc) · 1.54 KB

We Build SG LIVE

Join the chat at https://gitter.im/webuildsg/live Build Status

Website for a live audio podcast episodes at live.webuild.sg

Install

  1. clone the project: git clone [email protected]:webuildsg/live.git && cd live
  • install dependancies: npm i && bundle install
  • start the website locally: npm start

Development

  1. build static pages: jekyll build
  • start local server: jekyll serve --config _dev_config.yml --watch

  • add a git pre-commit hook to generate new sitemap.xml with new episodes. edit file .git/hooks/pre-commit

    #!/bin/sh
    
    rm sitemap.xml
    jekyll build
    mv _publish/sitemap.xml sitemap.xml
  • command line watch for building css and javascript: grunt

  • if there's error on invalid byte sequence in US-ASCII error: invalid byte sequence in US-ASCII, run the following in the command line:

    LC_CTYPE="en_US.UTF-8"
    LANG="en_US.UTF-8"
  • push to github pages: git push origin gh-pages

Credits

  1. 8-bit Nanjas for music

License

We Build SG LIVE is licensed under Creative Commons CC0 3.0 Attribution 3.0 Unported.