{"action":"created","issue":{"url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53","labels_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53/comments","events_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53/events","html_url":"https://github.com/shakacode/react_on_rails/pull/53","id":110578300,"number":53,"title":"Add Support generator to build a template webpack setup","user":{"login":"aaronvb","id":100900,"avatar_url":"https://avatars.githubusercontent.com/u/100900?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronvb","html_url":"https://github.com/aaronvb","followers_url":"https://api.github.com/users/aaronvb/followers","following_url":"https://api.github.com/users/aaronvb/following{/other_user}","gists_url":"https://api.github.com/users/aaronvb/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronvb/subscriptions","organizations_url":"https://api.github.com/users/aaronvb/orgs","repos_url":"https://api.github.com/users/aaronvb/repos","events_url":"https://api.github.com/users/aaronvb/events{/privacy}","received_events_url":"https://api.github.com/users/aaronvb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-09T02:50:48Z","updated_at":"2015-10-18T00:58:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shakacode/react_on_rails/pulls/53","html_url":"https://github.com/shakacode/react_on_rails/pull/53","diff_url":"https://github.com/shakacode/react_on_rails/pull/53.diff","patch_url":"https://github.com/shakacode/react_on_rails/pull/53.patch"},"body":"```\r\n> rails generate react_on_rails:install\r\n```\r\n\r\nCreated generators for:\r\n\r\n- React and Redux folders\r\n- Assets folder\r\n- Symlinks for images and fonts of they exist\r\n- Blank global jsx files\r\n- Update gitignore to ignore node modules\r\n- Insert generated and react_on_rails includes into application.js\r\n- Copy react_on_rails.rb config to app/initializers\r\n- Nodejs server files for the hot reload\r\n- Webpack config files\r\n- npm package\r\n\r\nI moved rails engine to its own file to be more explicit.\r\n\r\nRegarding the npm package.json, I copied it from the tutorial repo. I'm not sure if all of those packages should be included in the gem, or if you want to slim it down to the barebones react libraries.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/shakacode/react_on_rails/issues/comments/148964769","html_url":"https://github.com/shakacode/react_on_rails/pull/53#issuecomment-148964769","issue_url":"https://api.github.com/repos/shakacode/react_on_rails/issues/53","id":148964769,"user":{"login":"rstudner","id":209970,"avatar_url":"https://avatars.githubusercontent.com/u/209970?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudner","html_url":"https://github.com/rstudner","followers_url":"https://api.github.com/users/rstudner/followers","following_url":"https://api.github.com/users/rstudner/following{/other_user}","gists_url":"https://api.github.com/users/rstudner/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudner/subscriptions","organizations_url":"https://api.github.com/users/rstudner/orgs","repos_url":"https://api.github.com/users/rstudner/repos","events_url":"https://api.github.com/users/rstudner/events{/privacy}","received_events_url":"https://api.github.com/users/rstudner/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T00:58:56Z","updated_at":"2015-10-18T00:58:56Z","body":"So my first run.. npm 2.14.4 and node v0.12.7 'failed'\r\n\r\n         run  cd client && webpack --config webpack.client.rails.config.js from \".\"\r\nsh: webpack: command not found\r\n         run  cd client && webpack --config webpack.server.rails.config.js from \".\"\r\nsh: webpack: command not found\r\n\r\nBasically webpack didn't get installed etc.  Checking/looking into why now"}}