From 8b779e622b00d9ee43bc862d286b7ec4a3136a08 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Mon, 13 May 2013 13:00:25 -0400 Subject: add frozen-flask --- README | 3 ++- freezer.py | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 freezer.py diff --git a/README b/README index f93cc4e..e4a53fc 100644 --- a/README +++ b/README @@ -1,7 +1,8 @@ Install: - python-flask + python-flask (with apt) + frozen-flask (with pip) Copy ./settings.py.example to ./settings.py and edit the Octopart API key. diff --git a/freezer.py b/freezer.py new file mode 100755 index 0000000..1e597b6 --- /dev/null +++ b/freezer.py @@ -0,0 +1,8 @@ +from flask_frozen import Freezer +from partmom import app + +freezer = Freezer(app) + +if __name__ == '__main__': + freezer.freeze() + -- cgit v1.2.3