Skip to content

berlotto/flask-riak-skeleton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-riak-skeleton

===================

Skeleton of a Python Flask project, combining flask, riak, and html5boilerplate/twitter bootstrap.

The intention is to create a skeleton for my own projects where I will be using riak, flask, and html5 as the standard framework. Aim is to get to a good enough code base such that I could kick start any project development and deployment very quickly.

NOTE: This is not production ready, and is rather rough.

Components (so far)

  • flask
  • initializr - html5boilerplate + twitter bootstrap. See initializr
  • riak-python-client - official client
  • schematics - using schematics for data models. It supports json schema as well.

Coming soon

Not coming soon (as I have not yet decide what to use yet) but worth considering depending on individual projects

  • flask-security - to support API token key type authentication/authorisation
  • authentication - such as oauth 2.0 and openid
  • schematics - to model data into json
  • wtf forms - so simple (and great)
  • (auto) deployment scripts - for nginx (maybe fast cgi), VPS (linode)

The source is rather rough and with very little comments. However it should be self explanatory enough to get started.

Setup

  • set environment variable FLASK_ENV to either DEV, TEST or PROD
  • run python runserver.py

Protobuf

Download protobuf from http://code.google.com/p/protobuf/ tar -xvzf protobuf-2.4.1.tar.gz ./configure make sudo make install

About

Skeleton of Flask project, combining flask, riak, and html5/twitter bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published