note

install markdoc on osx

Install markdoc

mighty-2011:~ cychong$ sudo easy_install Markdoc
Searching for Markdoc
Best match: Markdoc 0.6.6
Processing Markdoc-0.6.6-py2.7.egg
Markdoc 0.6.6 is already the active version in easy-install.pth
Installing markdoc script to /usr/local/bin

Using /Library/Python/2.7/site-packages/Markdoc-0.6.6-py2.7.egg
Processing dependencies for Markdoc
Finished processing dependencies for Markdoc

Make markdoc directory

mighty-2011:~/Documents cychong$ markdoc init markdoc --vcs-ignore hg
markdoc.vcs-ignore: INFO: Writing ignore file to .hgignore
markdoc.init: INFO: Wiki initialization complete
markdoc.init: INFO: Your new wiki is at: /Users/cychong/Documents/markdoc

Edit wiki page

mighty-2011:~/Documents/markdoc cychong$ vi wiki/first.md

Compile pages

mighty-2011:~/Documents/markdoc cychong$ markdoc build

Run internal web server

mighty-2011:~/Documents/markdoc cychong$ markdoc serve
markdoc.serve: INFO: Serving on http://127.0.0.1:8008
markdoc.wsgi: INFO: GET / - 200
markdoc.wsgi: INFO: GET /media/css/style.css - 200
markdoc.wsgi: INFO: GET /media/css/pygments.css - 200
markdoc.wsgi: INFO: GET /favicon.ico - 404

Page is looks like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s