Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blampe/template.flask

A simple starting point for Flask applications
https://github.com/blampe/template.flask

Last synced: 1 day ago
JSON representation

A simple starting point for Flask applications

Awesome Lists containing this project

README

        

## template.flask

A simple starting point for [Flask](http://flask.pocoo.org) applications. This
is a collection of very minor features that I found annoying to repeatedly
re-implement:

* simple directory structure for app logic, assets, etc.
* `make` shortcuts for
* testing
* code coverage
* `virtualenv` and dependencies
* `pyflakes`
* spinning up a development server
* configurations for `git`, `py.test`, `coverage`, etc.
* a thread to postpone garbage collection during requests

### Usage

```
$ make env
...
$ source .env/bin/activate
$ make server
--------------------------------------------------------------------------------
* Running on http://0.0.0.0:8080/
* Restarting with reloader
--------------------------------------------------------------------------------
```