drichard/mindmaps

Need more description about installation

Opened this issue · 1 comments

Thank you for developing such an interesting tool.
Would you please describe the installation process in more detail?
It will help novice to install easily.

On the installation process, you use python to launch an HTTP server,
but a novice of python, like me, struggled with the following points:

  1. I got a python error "No module named SimpleHTTPServer", but I can't predict where it comes from.
  2. Since python distribution Anaconda does not contain SimpleHTTPServer, startup of http server fails at "npm run start".

In this case, instead of SimpleHTTPServer, "python -m http.server 3000" on src/ directory makes possible to start up HTTP server.

The error message is as follows.

$ npm run start

> mindmaps@0.8.0 start /Users/user/Prg/mindmaps
> cd src && python -m SimpleHTTPServer 3000

/Users/user/anaconda/bin/python: No module named SimpleHTTPServer
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mindmaps@0.8.0 start: `cd src && python -m SimpleHTTPServer 3000`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mindmaps@0.8.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2017-08-12T05_43_51_971Z-debug.log

waka1012, would this site help you (8 mos later) or did you resolve the difficulty? http://www.pythonforbeginners.com/modules-in-python/how-to-use-simplehttpserver/ Best.