{"action":"created","issue":{"url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap/issues/2","repository_url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap","labels_url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap/issues/2/comments","events_url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap/issues/2/events","html_url":"https://github.com/unicorn-fail/grunt-drupal-bootstrap/issues/2","id":163573261,"number":2,"title":"Please add some documentation for this project","user":{"login":"acrolink","id":13219117,"avatar_url":"https://avatars.githubusercontent.com/u/13219117?v=3","gravatar_id":"","url":"https://api.github.com/users/acrolink","html_url":"https://github.com/acrolink","followers_url":"https://api.github.com/users/acrolink/followers","following_url":"https://api.github.com/users/acrolink/following{/other_user}","gists_url":"https://api.github.com/users/acrolink/gists{/gist_id}","starred_url":"https://api.github.com/users/acrolink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrolink/subscriptions","organizations_url":"https://api.github.com/users/acrolink/orgs","repos_url":"https://api.github.com/users/acrolink/repos","events_url":"https://api.github.com/users/acrolink/events{/privacy}","received_events_url":"https://api.github.com/users/acrolink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-03T18:17:11Z","updated_at":"2016-07-03T18:32:52Z","closed_at":null,"body":"I understand that this code should be used alongside with Drupal's Bootstrap base theme. However, I need to understand, is this a sub-theme? or more basically, where do I need to `git clone` this code? inside a Bootstrap's less/cdn starter-kit clone? Thanks."},"comment":{"url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap/issues/comments/230168009","html_url":"https://github.com/unicorn-fail/grunt-drupal-bootstrap/issues/2#issuecomment-230168009","issue_url":"https://api.github.com/repos/unicorn-fail/grunt-drupal-bootstrap/issues/2","id":230168009,"user":{"login":"markcarver","id":351902,"avatar_url":"https://avatars.githubusercontent.com/u/351902?v=3","gravatar_id":"","url":"https://api.github.com/users/markcarver","html_url":"https://github.com/markcarver","followers_url":"https://api.github.com/users/markcarver/followers","following_url":"https://api.github.com/users/markcarver/following{/other_user}","gists_url":"https://api.github.com/users/markcarver/gists{/gist_id}","starred_url":"https://api.github.com/users/markcarver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcarver/subscriptions","organizations_url":"https://api.github.com/users/markcarver/orgs","repos_url":"https://api.github.com/users/markcarver/repos","events_url":"https://api.github.com/users/markcarver/events{/privacy}","received_events_url":"https://api.github.com/users/markcarver/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T18:32:52Z","updated_at":"2016-07-03T18:32:52Z","body":"No. But it is meant to be used in a sub-theme.\r\n\r\nI haven't gotten around to finishing/documenting this and I apologize for that.\r\n\r\nBasically, this module's primary purpose is meant to help standardize how a sub-theme is compiled (using LESS or SASS) based on the configuration provided in a sub-theme's `package.json`:\r\n\r\n```json\r\n  \"drupal-bootstrap\": {\r\n    \"preprocessor\": \"sass\",\r\n    \"package\": \"bootstrap-sass\",\r\n    \"version\": \"3.3.6\"\r\n  },\r\n```\r\n\r\nIf this were present in your sub-theme's `package.json` file, it would download and install the necessary preprocessor (sass) and the necessary bootstrap library framework (bootstrap-sass) and specific version (3.3.6).\r\n\r\nIn your `Gruntfile.js`, add the following config:\r\n\r\n```js\r\n  compile: {\r\n    // node-sass options.\r\n    options: {},\r\n    bootstrap: {\r\n      files: [{\r\n        expand: true,\r\n        cwd: 'css/src', // Path to your .scss source files\r\n        src: ['**/*.scss', '!**/_*.scss'], // Skip sass partials.\r\n        dest: 'css/prod', // Output directory.\r\n        ext: '.css'\r\n      }]\r\n    }\r\n  }\r\n```\r\n\r\nThen run `grunt compile` and it should work like a charm."}}
{"actor":{"display_login":"markcarver"}}