migrate from flask to quart.
also remove all flaskiness from static file serving. and reference all vendored scripts on the base tempĺate for simplicity.
This commit is contained in:
parent
f452b9c00d
commit
f01028eac7
72 changed files with 473 additions and 582 deletions
8
Makefile
8
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
all: format check
|
||||
all: format check lnbits/static/css/base.css requirements.txt
|
||||
|
||||
format: prettier black
|
||||
|
||||
|
|
@ -18,3 +18,9 @@ checkprettier: $(shell find lnbits -name "*.js" -name ".html")
|
|||
|
||||
checkblack: $(shell find lnbits -name "*.py")
|
||||
./venv/bin/black --check lnbits
|
||||
|
||||
lnbits/static/css/base.css: lnbits/static/scss/base.scss
|
||||
./venv/bin/pyscss -o lnbits/static/css/base.css lnbits/static/scss/base.scss
|
||||
|
||||
requirements.txt: Pipfile.lock
|
||||
cat Pipfile.lock | jq -r '.default | map_values(.version) | to_entries | map("\(.key)\(.value)") | join("\n")' > requirements.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue