How to install Docco.coffee on Windows 7

Docco.coffee requires the following to run.

  1. Node.js
  2. Python
  3. CoffeeScript
  4. Pygments
  5. Docco

Step 1:
Download and install Node.js and Python 2.7. Python 3.2 might work but I haven’t yet tried it out.

Step 2:
Add the root and ‘node_modules’ directories for node.js and the root and “Script” directory for python 2.7 to your path environment variable.
C:\nodejs;%userprofile%\node_modules\.bin;C:\python27;C:\Python27\Scripts;

Step 3:
Open up a command prompt, start -> run -> type “cmd”.

Type npm install coffee-script
*You should see installation output on the screen*

Type npm install docco
*You should see installation output on the screen*

Step 4:
Download ez_setup
In command prompt, navigate to where you downloaded ez_setup.py.
Type in python ez_setup.py.

Step 5:
In command prompt type easy_install pygments to install Pygments.

Done.

Test
Download ‘underscore.js’ to your desktop.

Open up a command prompt and type in docco %userprofile%\desktop\underscore.js.
You should see two output files, “p” and “docs”.
The annotated source code is the html file in the docs folder.

Enjoy!

Larry Battle

I love to program, and discover new tech. Check out my stackoverflow and github accounts.

View Comments

Share
Published by
Larry Battle

Recent Posts

What really is Data Science? Told by a Data Scientist

What REALLY is Data Science? Told by a Data Scientist - By Joma Tech

7 years ago

Video: How Water Towers Work

How Water Towers Work - Practical Engineering

7 years ago

Dev Tip: Simple tips to improve code reviews

Writing perfect code is a challenging process. That's where code reviews come in to help…

7 years ago

Video: How AI will change the 3d industry

"The Next Leap: How A.I. will change the 3D industry - Andrew Price - Blender"

7 years ago

Best Software Presentation for 2018

"Captain Disillusion: World's Greatest Blenderer - Live at the Blender Conference 2018 - CaptainDisillusion"

7 years ago

Dev Video: A Few Linux Shell Tips

My 5 Favorite Linux Shell Tricks for SPEEEEEED (and efficiency) - By tutoriaLinux > What's…

7 years ago