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: TODO:
* convert LE 84000 to 84k in save_name
CONSIDER in code: CONSIDER in code:
* when we time the payment of GMHBA / HCF (and at what cadence) and include it in calcs better * 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 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 ### ### Var Attributes -- note, simple class, no methods ###
self.label=label self.label=label
self.varname=varname self.varname=varname

View File

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

View File

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