{"action":"created","issue":{"url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/issues/4","labels_url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/issues/4/comments","events_url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/issues/4/events","html_url":"https://github.com/yourfirstpr/yourfirstpr.github.io/issues/4","id":105106422,"number":4,"title":"Create a build script for CSS minification","user":{"login":"Charlotteis","id":542140,"avatar_url":"https://avatars.githubusercontent.com/u/542140?v=3","gravatar_id":"","url":"https://api.github.com/users/Charlotteis","html_url":"https://github.com/Charlotteis","followers_url":"https://api.github.com/users/Charlotteis/followers","following_url":"https://api.github.com/users/Charlotteis/following{/other_user}","gists_url":"https://api.github.com/users/Charlotteis/gists{/gist_id}","starred_url":"https://api.github.com/users/Charlotteis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Charlotteis/subscriptions","organizations_url":"https://api.github.com/users/Charlotteis/orgs","repos_url":"https://api.github.com/users/Charlotteis/repos","events_url":"https://api.github.com/users/Charlotteis/events{/privacy}","received_events_url":"https://api.github.com/users/Charlotteis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/labels/beginner","name":"beginner","color":"bfe5bf"},{"url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/labels/first-timers-only","name":"first-timers-only","color":"bfe5bf"},{"url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/labels/needs-better-explanation","name":"needs-better-explanation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-06T17:41:04Z","updated_at":"2015-09-06T18:58:46Z","closed_at":null,"body":"This is not high priority, our CSS is unlikely to be big. This is just an opportunity for someone to try and get css minification working :)\r\n\r\n1. Investigate and learn about CSS minification\r\n2. Incorporate CSS minification through the use of a build script (such as through the use of NPM)"},"comment":{"url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/issues/comments/138114327","html_url":"https://github.com/yourfirstpr/yourfirstpr.github.io/issues/4#issuecomment-138114327","issue_url":"https://api.github.com/repos/yourfirstpr/yourfirstpr.github.io/issues/4","id":138114327,"user":{"login":"BPScott","id":227292,"avatar_url":"https://avatars.githubusercontent.com/u/227292?v=3","gravatar_id":"","url":"https://api.github.com/users/BPScott","html_url":"https://github.com/BPScott","followers_url":"https://api.github.com/users/BPScott/followers","following_url":"https://api.github.com/users/BPScott/following{/other_user}","gists_url":"https://api.github.com/users/BPScott/gists{/gist_id}","starred_url":"https://api.github.com/users/BPScott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BPScott/subscriptions","organizations_url":"https://api.github.com/users/BPScott/orgs","repos_url":"https://api.github.com/users/BPScott/repos","events_url":"https://api.github.com/users/BPScott/events{/privacy}","received_events_url":"https://api.github.com/users/BPScott/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T18:58:46Z","updated_at":"2015-09-06T18:58:46Z","body":"Alternative idea (he says sliding in, not knowing what you've got planned): I'm assuming this is going to be a static site built onto GitHub pages as you've got a gh-pages branch.\r\n\r\nIn order to avoid complicating the build and deployment process, GH Pages supports pushing the source of a [Jekyll](https://help.github.com/articles/using-jekyll-with-pages/) site to your pages branch, which it then automatically builds (thus saving us having a build step for css minification that we then have to push output in the repository). Jekyll conveniently [supports compiling scss to css](http://jekyllrb.com/docs/assets/), along with a few other handy things like using layouts for common headers and footers if we end up with many pages. Thus, could this issue be expanded to be something like:\r\n\r\n1) Investigate [how to use Jeykll with github pages](https://help.github.com/articles/using-jekyll-with-pages/) and how to use [Jekyll in general](http://jekyllrb.com/docs/home/)\r\n2) Add a `Gemfile` specifying all the package dependencies\r\n3) Add a Jekyll `_config.yml` that [configures sass compilation](http://jekyllrb.com/docs/assets/)\r\n4) Update the css files to be compiled into a single file named `styles.css`, and have `index.html` reference that single file.\r\n\r\nFor reference, here's another repository that follows this approach: https://github.com/BPScott/talk-the-step-after-styleguides"}}