mkremins / flense

Edit trees, not text
MIT License
101 stars 3 forks source link

Unclear how to run flense #13

Closed aeberts closed 10 years ago

aeberts commented 10 years ago

My apologies if this is obvious but it's not clear from the README.md how to run the project.

Compiling using lein cljsbuild once succeeds but visiting flence/index.html in a browser gives:

Uncaught ReferenceError: require is not defined in the JavaScript console.

Environment:

mkremins commented 10 years ago

In its current state Flense can only be run with node-webkit, which you'll have to install separately. Once you've installed node-webkit you can run path/to/node-webkit path/to/flense to fire it up.

This definitely ought to be documented – I'll put a note in the readme when I get a chance.

mkremins commented 10 years ago

Note that you'll also have to manually install transitive npm dependencies – specifically mkdirp, which should be pulled in automatically as part of the Leiningen build process but currently isn't. Investigating a way to make that happen.

aeberts commented 10 years ago

Ha! I just figured that out and was adding a comment to this issue :-)

One thing that tripped me up was that there are 2 packages: mkdir and mkdirp (note the "p") - adding for the benefit of anyone else who might run into that issue.