Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/blampe/template.flask
- Owner: blampe
- Created: 2013-11-22T08:20:20.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-22T08:20:51.000Z (about 11 years ago)
- Last Synced: 2024-04-30T07:17:42.483Z (9 months ago)
- Language: Python
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.mkd
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
--------------------------------------------------------------------------------
```