diff options
-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() + |