diff options
author | bryan newbold <bnewbold@robocracy.org> | 2013-05-13 13:00:25 -0400 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2013-05-13 13:00:45 -0400 |
commit | 8b779e622b00d9ee43bc862d286b7ec4a3136a08 (patch) | |
tree | cc5d3b67b213c72448e887bea1e2b5483c1a0ad5 | |
parent | 24cd1e99faf93d64019588d8344d8f89036088b0 (diff) | |
download | partmom-8b779e622b00d9ee43bc862d286b7ec4a3136a08.tar.gz partmom-8b779e622b00d9ee43bc862d286b7ec4a3136a08.zip |
add frozen-flask
-rw-r--r-- | README | 3 | ||||
-rwxr-xr-x | freezer.py | 8 |
2 files changed, 10 insertions, 1 deletions
@@ -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() + |