moved to a container, reduced default font size to 80% as it was just too large, updated requirements.txt to support containerisation (added gunicorn), but also removed locked versions

This commit is contained in:
2025-02-14 16:34:16 +11:00
parent 926cee9a6c
commit 7751f29a0f
4 changed files with 14 additions and 9 deletions

1
README
View File

@@ -1,4 +1,5 @@
TODO:
* convert LE 84000 to 84k in save_name
CONSIDER in code:
* when we time the payment of GMHBA / HCF (and at what cadence) and include it in calcs better

View File

@@ -22,7 +22,7 @@ class FP_VAR(FP):
dot-notation of fields
"""
def __init__(self, label, varname, display='', cl='col-auto', datevarname=''):
def __init__(self, label, varname, display='', cl='col-sm-auto', datevarname=''):
### Var Attributes -- note, simple class, no methods ###
self.label=label
self.varname=varname

View File

@@ -1,8 +1,11 @@
blinker==1.9.0
click==8.1.7
Flask==3.1.0
itsdangerous==2.2.0
Jinja2==3.1.4
MarkupSafe==3.0.2
pysqlite3==0.5.4
Werkzeug==3.1.3
blinker
click
Flask
itsdangerous
Jinja2
MarkupSafe
pysqlite3
Werkzeug
flask-compress
gunicorn

View File

@@ -13,6 +13,7 @@
<script src="https://code.highcharts.com/modules/accessibility.js"></script>
<style>
.col-form-label { width:140px; }
html { font-size: 80%; }
</style>
</head>
<body>