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:
fiatjaf
2020-09-13 21:31:05 -03:00
parent f452b9c00d
commit f01028eac7
72 changed files with 473 additions and 582 deletions

View File

@@ -42,23 +42,19 @@ Take a look at [Polar][polar] for an excellent way of spinning up a Lightning Ne
Running the server
------------------
LNbits uses [Flask][flask] as an application server.
LNbits uses [Quart][quart] as an application server.
```sh
$ pipenv run python -m lnbits
```
There is an environment variable called `FLASK_ENV` that has to be set to `development`
if you want to run Flask in debug mode with autoreload
Frontend
--------
The frontend uses [Vue.js and Quasar][quasar].
[flask]: http://flask.pocoo.org/
[quart]: https://pgjones.gitlab.io/
[pipenv]: https://pipenv.pypa.io/
[polar]: https://lightningpolar.com/
[quasar]: https://quasar.dev/start/how-to-use-vue