Skip to main content

A simple billing tool

Project description

FossBill

The code source behind fossbill.org.

Development

make instance/config.toml # Prepare the config, you may edit it
make venv-dev # Will prepare and install dependencies in venv
venv/bin/flask --app fossbill db upgrade head # Prepare and migrate the database
make run # Run the server

Production

python -m venv venv
venv/bin/python3 -m pip install fossbill waitress
venv/bin/python3 -m pip install psycopg2-binary # if you use postgres

Configure the instance

mkdir -p venv/var/fossbill-instance/
curl -o venv/var/fossbill-instance/config.toml https://git.sr.ht/~stacyharper/fossbill/blob/main/config.example.toml

Then edit this config.toml and setup the secret and database string.

Then migrate using:

venv/bin/flask --app fossbill db upgrade head

Running the server is as simple as:

venv/bin/flask --app fossbill run
# or
venv/bin/waitress-serve --listen=127.0.0.1:5554 --call 'fossbill:create_app'

But you should rather setup a system daemon, and a proxy using nginx. Have a look at the contrib/ folder.

Contribute

Send patches to the mailing list: Development mailing list.

To learn how to use git send-email, please see git-send-email.io.

git config format.subjectPrefix 'PATCH fossbill'
git config sendemail.to '~stacyharper/fossbill-devel@lists.sr.ht'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fossbill-1.9.0-py3-none-any.whl (83.1 kB view details)

Uploaded Python 3

File details

Details for the file fossbill-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: fossbill-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 83.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.7

File hashes

Hashes for fossbill-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bafff1eff831a95af2414a87b07e65be0d05faa3c019ed8e6a84ef7d8d0d7ee
MD5 aaa16fe4de3ef819a27567c43af45c79
BLAKE2b-256 7d2f903eaaba84531e73642eaad0db8c95460576fda5a611364d98b090c33d0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page