add README.md. and rename bootup script.

This commit is contained in:
ohbarye
2015-04-15 21:32:21 +09:00
parent 0db22615d1
commit 4711852916
2 changed files with 49 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
from bottle import route,run,template,static_file
from md_to_html import MarkdownConverter
from env import *
converter = MarkdownConverter()
@route('/<resource>')
def gfmize(resource):
html_file_name = converter.convert(resource)
return static_file(html_file_name, root=ms_root)
run(host=ms_host,port=ms_port,debug=ms_debug,reloader=ms_reloader)