Beautiful Bottle Skeleton
- Very BASIC skeleton, no external python libraries required than 'bottle'
- Does not impose on or force you to develop your app in any particular way
- Example includes basic CSS, HTML boilerplate code, including Google Analytics Tracking
Because there aren't enough Bottle skeleton web applications already in existence that look beautiful.
If you want a starting-point for your own experiments in making websites in Python, this isn't the worst place that you could start. It was the starting point for the development of my Beautifully Simple Static Bottle Blog Generator.
Check the TODO.md or ROADMAP.md to see what's left to do and if you make some CHANGES.md I'll be sure to add you to the CREDITS.md and humans.txt files.
pip install -r requirements.txt
- Copy config file:
cp config.py.example config.py
- this is done automatically the first time app.py is run if the config.py file does not exist - Edit config.py as needed
- Edit the page template in views/index.tpl
python app.py
- Browse to localhost:8080
CONFIG = {
'debug': False, # debug mode
'ga_code': 'UA-00000000-1', # google analytics code UA-XXXX-Y
'title': 'Welcome', # name of the site
'author': 'Vijay Mahrra' # author of the site
}
### CSS
- normalize.css - CSS Reset
- Skeleton CSS boilerplate
- crem.in - Blog CSS theme
- html5boilerplate - Placeholder Images
- Everything's in the docs/ folder.