Fbone (Flask bone) is a Flask (Python microframework) template/bootstrap/boilerplate application.
Python HTML CSS JavaScript
Latest commit adbb004 Jun 22, 2016 @imwilsonxu Obey pep8
Permalink
Failed to load latest commit information.
fbone Obey pep8 Jun 22, 2016
.gitignore Upgrade to Flask 0.11 Jun 17, 2016
CHANGES Upgrade to Flask 0.11 Jun 17, 2016
README.markdown Add sentry Jun 22, 2016
fabfile.py Add sentry Jun 22, 2016
fbone.conf Upgrade to Flask 0.11 Jun 17, 2016
requirements.txt Upgrade to Flask 0.11 Jun 17, 2016
tests.py Obey pep8 Jun 22, 2016
wsgi.py Upgrade to Flask 0.11 Jun 17, 2016

README.markdown

INTRODUCTION

Fbone (Flask bone) is a Flask (Python microframework) template/bootstrap/boilerplate application, with best practices (I hope).

You can use it for

  • learning Flask.
  • kicking off your new project.

COMPONENTS

Frontend

Flask Extensions

Others

  • Modular Applications with Blueprints.
  • Use Sentry for real-time crash reporting.
  • Automated managament via fabric

USAGE

Pre-required Setup:

  • MacOS/Ubuntu (should be fine in other linux distro)
  • git
  • Python / pip / Fabric
  • sqlite / MySQL
  • Apache + mod_wsgi

    git clone https://github.com/imwilsonxu/fbone.git fbone

    fab setup_python_macos fab bootstrap fab test fab debug

STRUCTURE

├── CHANGES                     Change logs
├── README.markdown
├── fabfile.py                  Fabric file to automated managament project
├── fbone.conf                  Apache config
├── requirements.txt            3rd libraries
├── tests.py                    Unittests
├── wsgi.py                     Wsgi app
├── fbone
   ├── __init__.py
   ├── app.py                   Main App
   ├── config.py                Develop / Testing configs
   ├── constants.py             Constants
   ├── decorators.py            Customized decorators
   ├── extensions.py            Flask extensions
   ├── filters.py               Flask filters
   ├── utils.py                 Python utils
   ├── frontend                 Frontend blueprint
   │   ├── __init__.py
   │   ├── forms.py             Forms used in frontend modular
   │   ├── views.py             Views used in frontend modular
   ├── user
   ├── api
   ├── static                   Static files
   │   ├── css
   │   ├── favicon.png
   │   ├── humans.txt
   │   ├── img
   │   ├── js
   │   └── robots.txt
   └── templates                Jinja2 templates
       ├── errors
       ├── frontend
       ├── index.html
       ├── layouts              Jinja2 layouts
       │   ├── base.html
       │   └── user.html
       ├── macros               Jinja2 macros
       ├── mails                Mail templates
       └── user

LICENSE

MIT LICENSE

ACKNOWLEDGEMENTS

Many thanks to Python, Flask and other good stacks.

Bitdeli Badge