Sign inSign up

zsxsoft/fava-management

By zsxsoft

•Updated about 1 month ago

A fava management panel.

Image
0

5.2K

zsxsoft/fava-management repository overview

⁠fava-management

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.

⁠Features

  1. Fava restart
  2. Fava authentication

⁠Installation

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

⁠Development

python3 manage.py runserver --fava="your_beancount_entrypoint_file"

See Django documentation⁠ for details.

⁠Production

BEANCOUNT_FILE=your_beancount_entrypoint_file gunicorn management.wsgi

See Gunicorn documentation⁠ for details.

⁠Docker

docker run --rm -v/home/ubuntu/bean:/bean -p8080:80 -eBEANCOUNT_FILE=/bean/main.bean -eUSERNAME=admin -ePASSWORD=12345678 -it zsxsoft/fava-management

⁠Need more security?

Try them:

⁠License

The MIT License

Tag summary

Content type

Image

Digest

sha256:d67f006c3…

Size

99.7 MB

Last updated

about 1 month ago

docker pull zsxsoft/fava-management