aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2013-05-13 13:00:25 -0400
committerbryan newbold <bnewbold@robocracy.org>2013-05-13 13:00:45 -0400
commit8b779e622b00d9ee43bc862d286b7ec4a3136a08 (patch)
treecc5d3b67b213c72448e887bea1e2b5483c1a0ad5
parent24cd1e99faf93d64019588d8344d8f89036088b0 (diff)
downloadpartmom-8b779e622b00d9ee43bc862d286b7ec4a3136a08.zip
partmom-8b779e622b00d9ee43bc862d286b7ec4a3136a08.tar.gz
add frozen-flask
-rw-r--r--README3
-rwxr-xr-xfreezer.py8
2 files changed, 10 insertions, 1 deletions
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()
+