aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()
+