Skip to content

zsxsoft/fava-management

Repository files navigation

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

About

A fava management panel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published