A fava management panel.
If you want to deploy fava on the server, you will find that the fava process may crash frequently. This project is a fava controller that allows you to restart fava in your browser. In addition, this project also added Django-based authentication to Fava.
- Fava restart
- Fava authentication
git clone https://github.com/zsxsoft/fava-management
cd fava-management
# If you have your own fava and beancount installed, you can just
# pip install django django-revproxy
pip install -r requirements.txt
# Create database
python manage.py migrate
# Create superuser
python manage.py createsuperuser
python3 manage.py runserver --fava="your_beancount_entrypoint_file"
See Django documentation for details.
BEANCOUNT_FILE=your_beancount_entrypoint_file gunicorn management.wsgi
See Gunicorn documentation for details.
docker run --rm -v/home/ubuntu/bean:/bean -p8080:80 -eBEANCOUNT_FILE=/bean/main.bean -eUSERNAME=admin -ePASSWORD=12345678 -it zsxsoft/fava-management
Try them:
- https://github.com/sdonk/django-admin-ip-restrictor/
- https://github.com/django-otp/django-otp
- https://github.com/volrath/django-captcha-admin
The MIT License