Closed feitian124 closed 10 years ago
With this way the Node.js instance wouldn't have access to the dist
folder, because it's outside of the root directory. For the ember-sockets.js
file to be in the vendor
directory you'll need to run grunt build
.
npm install
;grunt install
;grunt build
You can then initiate the Node server with node example/server.js
, and then navigate to localhost:3502.
Please let me know if this works for you :thumbsup: I should also update the README to clarify this process.
I tried, my change works, the dist folder is in project root folder.
As grunt build
could put the file there, it is better, just need some guide in README.
thank you.
Thanks for raising the issue! :beers:
I've updated the README to add the steps: https://github.com/Wildhoney/EmberSockets/commit/d3ae582b23dceec1f5c3ca4f55d9c1cb7a2341fe
example is not working as the js didn't exist in src
js/vendor/ember-sockets/ember-sockets.js
, fixed by point to the one locate in parent folder.