Commit Graph

11 Commits

Author SHA1 Message Date
Eneko Illarramendi
1bc5e144d3 refactor: clean up __init__ file following some Flask conventions
Flask extensions are loaded in a way that makes them easily reusable by blueprints.
In this commit we are also adding `environs` to manage .env and settings:
breaking changes!

- FLASK_APP=lnbits.app
- LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
2020-09-06 21:06:01 -03:00
Eneko Illarramendi
a651f747ac chore: remove gunicorn and gevent from minimum requirements
It is now up to the user to install these (or other) for production deployment.
More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
2020-09-03 19:38:01 +02:00
Eneko Illarramendi
0d0e00e699 chore: update Pipfile 2020-09-02 14:31:44 +02:00
Eneko Illarramendi
e01de0eae5 chore: update requirements (but lock gevents)
`gevents` has been locked to avoid myNode installation problems.
2020-08-18 08:43:04 +02:00
Eneko Illarramendi
5831fe2ab6 Revert "fix: requirements update, including lnurl bugfix"
This reverts commit bc984ab0db.
2020-08-13 22:16:16 +02:00
Eneko Illarramendi
bc984ab0db fix: requirements update, including lnurl bugfix 2020-08-04 19:22:24 +02:00
Eneko Illarramendi
8ea72c9934 feat: add CORS headers 2020-05-18 23:33:07 +02:00
Eneko Illarramendi
2c5e539795 refactor: make some wallet dependencies optional 2020-05-02 19:16:10 +02:00
Eneko Illarramendi
178fe65fb2 test: configure Travis for CI 2020-04-27 19:39:00 +02:00
Eneko Illarramendi
34e6d2a7bb chore: update requirements 2020-04-23 07:32:05 +02:00
Eneko Illarramendi
d917feeb02 feat: prepare for deploying to Dokku 2020-04-21 23:13:37 +02:00