cljsinfo / cljs.info

ClojureScript website
http://cljs.info
MIT License
96 stars 9 forks source link

Cannot start on my development machine #59

Closed adamhunter closed 9 years ago

adamhunter commented 9 years ago

Hey guys, ran through a couple of snafus in my setup and updated the readme appropriately. Currently I'm getting an error when running node app.js.
Specifically I am getting: Error: Cannot find module './docs.json'

Full error at: https://gist.github.com/adamhunter/a0a99d627d1004b4a2b3

oakmac commented 9 years ago

docs.json is generated by running grunt build-docs from the project root. Running grunt watch in the background should also build docs.json as any .cljsdoc file is changed.

After you get this error resolved, I suspect you will get a second error about generated-docs.json, which is something that we've been handling manually for now. More information here: https://github.com/shaunlebron/cljs-api-docs

It is on the shortlist to make getting started and contributing as easy as possible.

oakmac commented 9 years ago

Quick instructions for generated-docs.json:

That should produce a generated-docs.json file in the project root.

I promise we will make this process cleaner very soon :)

FYI: @shaunlebron