BottleRack

Markdown HTML Server
Download

BottleRack Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL v2
  • Price:
  • FREE
  • Publisher Name:
  • Steven McGrath
  • Publisher web site:
  • https://github.com/SteveMcGrath/

BottleRack Tags


BottleRack Description

BottleRack is a Python module that provides a simplistic way to stand up a website utilizing markdown files for page content and using a standard template for theming the website. This means that building a simple website is just a matter of creating a new "rack" and then modifying as you see fit.Getting StartedQuickstart1. Install bottlerack by using pip or easy_install: pip install bottlerack2. Create a new "rack" using the bottlerack application: bottlerack -b testapp -c3. Startup bottlerack using the rack you just created: bottlerack -b testapp4. Your done! you not have a running bottlerack application!Adding pagesTo add a page to your rack, just create a new markdown file in the pages folder. By default, bottlerack should have created the home.md and error.md files to facilitate in the basic application. home.md is markdown file that is called when you reference the webroot "/" and error.md is used to display a 404 message whenever there is no page to be displayed. You can setup your markdown files in whatever directory structure you wish, and those will be carried over to the web application. So for example, if I had the following directory structure in my pages folder:home.mderror.mdpresentations.mdpresentations/pres1.mdpresentations/pres2.mdThe URLs that would be available in the web application would be://presentations/presentations/pres1/presentations/pres2It can't get any simpler than that. One thing to keep in mind is that it is required for markdown files to be named with the .md extension.Product's homepage


BottleRack Related Software