jawerty / Hyro

A real-time desktop HTML5 editor -- view your html while you code it.
http://jawerty.github.io/Hyro
MIT License
806 stars 96 forks source link

how to build? #1

Closed max-mapper closed 11 years ago

max-mapper commented 11 years ago

Hi, I cloned this and tried npm install, but got:

npm ERR! install Couldn't read dependencies
npm ERR! Failed to parse json
npm ERR! Unexpected token /

after taking the commented line out it worked, but there were no dependencies to install (I figured there would be). Maybe you could add a npm start command to run the app?

jawerty commented 11 years ago

There's nothing you need to 'npm install' once you clone it. Look at node-webkit's instructions on how to run apps https://github.com/rogerwang/node-webkit/wiki/How-to-run-apps. Just get a copy of node-webkit, zip the repo into a app.nw file and drag it to the node-webkit executable.

max-mapper commented 11 years ago

Oh, I figured node-webkit was on NPM, but it looks like it isn't. Would be nice if you could just type npm start and have it install node-webkit and build the project for you!